Debugging Javascript in Visual Studio
- Open Microsoft Internet Explorer.
- On the Tools menu, click Internet Options.
- On the Advanced tab, locate the Browsing section, and uncheck the Disable script debugging check box, and then click OK.
- Close Internet Explorer.
- In your JavasSript function add the keyword debugger . This causes VS.NET to switch to debug mode when it runs that line.
EX : -function OnLookup(){debugger;var xr = new XMLHttpRequest();
1 Comments:
Excellent work. explained in easy english. thank you
Post a Comment
<< Home