Skip to content


Debugging Javascript using vs.net

Hi all,
Recently I came across requirement for which I need to debug JavaScript using any editor.
So I Google a bit and found a great solution for this:

Steps


  1. Enable client-side script debugging in Internet Explorer
    1. Open Microsoft Internet Explorer.
    2. On the Tools menu, click Internet Options.
    3. On the Advanced tab, locate the Browsing section, and uncheck the Disable script debugging check box, and then click OK.
    4. Close Internet Explorer.


  2. In your JavasSript function add the keyword debugger . This causes VS.NET to switch to debug mode when it runs that line.
  3. Run your ASP.Net application in debug mode.


below is the url for the same.

Walt Ritscher: Thinking about code

Happy Coding


Posted in JavaScripts.



0 Responses

Stay in touch with the conversation, subscribe to the RSS feed for comments on this post.