Blog Home  Home Feed your aggregator (RSS 2.0)  
.Net Jonesie - Script Debugging
A simple programmers blog
 
# Wednesday, October 18, 2006
Script Debugging by Peter.Jones@intergen.co.nz
This is new for me - maybe for you too.  To debug a javascript block from Visual Studio, add the following to your script block:
 
    debugger;
 
Make sure your IE advanced settings have Disable Script Debugging turned off.  When the browser hits the debugger statement it will display the page source in Visual Studio and allow you to step over the code, examine variable values and do all the lovely debugging stuff you need to do.
 
Wish I'd know about this a few years ago!
Wednesday, October 18, 2006 1:44:17 PM (New Zealand Daylight Time, UTC+13:00)  #    Comments [0]   General  | 
Comments are closed.
Copyright © 2012 Peter G Jones. All rights reserved.
DasBlog 'Portal' theme by Johnny Hughes.
Pick a theme: