Debugging JavaScript using VS.NET 2005

To debug JS in Vs 2005 make sure you haven’t checked “Disable script debugging” in Internet Expolorer Option menu.

Under the Debug menu, Windows, choose Script Explorer. This should show a window on the right side with a list of the running documents. It should show the aspx page any any .js files you have included. Open up any of the .JS files and set breakpoints in your code. Once the script is executed it should stop at your breakpoints and give you all the current watch funcationality that you have come to expect from VS.NET.

2 thoughts on “Debugging JavaScript using VS.NET 2005

  1. That was a nice way to debug JS. I was wondering if you know more about other ways of debugging it than VS.Net?

Leave a Reply

Your email address will not be published. Required fields are marked *