Wednesday, October 03, 2007

Javascript debugging in Visual Studio

In order to debug javascript code in ASP.NET application you need to following thing:
  1. Enable script debugging option for Internet Explorer.
  2. Open inetmgr and right click on the web application project. Set true to option "Enable ASP client side debugging".
  3. There is a quick and dirty way - Add "debugger;" command as the first line of the javascript function which you want to debug.

No comments: