From IE's Tools menu, select Option, switch to Advence tab, Under the Browse tree node, uncheck [Disable Script Debugging(IE)] and [Disable Script Debugging(Other)], then open your web application from VS2005
- First press F5 to run your web application in debug mod
- From Debug menu item, select Window, then Script Explorer, this bring up a Script Explorer window
- From the explorer window, choose the script source you like to debug and add break point on the it