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
- Enable client-side script debugging in Internet Explorer
- 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.
- Open Microsoft Internet Explorer.
- In your JavasSript function add the keyword debugger . This causes VS.NET to switch to debug mode when it runs that line.
- Run your ASP.Net application in debug mode.
below is the url for the same.
Walt Ritscher: Thinking about code
Happy Coding
0 Responses
Stay in touch with the conversation, subscribe to the RSS feed for comments on this post.