Debugging JavaScript, using VS 2008
By Mike Irving - Published: 20/12/2008

This week I have been working on a new website project, using Microsoft Visual Studio 2008 for the first time.

If you are coming to Studio 2008 from Studio 2005, everything seems similar, and you shoud have no problems getting to grips.

The IDE seems just as quick as 2005, and getting started on the website was a doddle.

One interesting new feature in Visual Studio 2008 is the ability to Debug JavaScript in your web pages.

To do this, you must first enable script debugging from IE.

In IE, Click Tools, Options, Advanced, then untick the entry Disable script debugging (Internet Explorer) - see photo.

Then whilst debugging your application, you can set a breakpoint and query both the ASP.Net Web Application, and your Client-Side DOM / JavaScript.

This is a welcome addition to Viual Studio, enabling debuging of JavaScript withing the same environment as your Server-Side debugging.


View Blog Entries...
Page: 1, 2, 3, 4, 5, 6, 7, 8