The approximate steps are as follows:
1. Start script debugging in the browser: in IE menu tool->internet option-> Advanced page, remove disable script debugging (Internet Explorer) before
2. Then open your project in VS 2005, set the page you want to debug as the starting page, then press F5, then go to the VS 2005 menu Debug-> Windows->script Explorer,vs 2005 will open the Script manager, double-click one of the JS File, the file will open in the main window, and then you can add breakpoints, ...
This is my microsoftajaxwebforms.js in the VS 2005 debug asp.net AJAX Beta 1 To see how the form was submitted:
"Update" Aldebaran in the reply mentioned another method of interest in this approach, specific details of the reference
Debug Javascript with IE and Visual Studio 2005
http://brennan.offwhite.net/blog/2006/01/23/debug-javascript-with-ie-and-visual-studio-2005/
Probably so, set up the menu tool-> Internet Options-> Advanced page After you start the script debugging, close the browser, reopen IE, open the page you want to debug, and then go to the menu View->script debugger->break at Next Statement ... Then, when you want to execute JavaScript in a Web page, you'll jump out of a window to select the Script Debugger. If you choose VS 2005, there will be a small problem, it may open the File Selection dialog box, you open the JS source file, (obviously, in the above example, I do not have this name (with a long string of query string) file, but you can close this dialog box, Then double-click the file name of the script manager to do so. (in VS 20005 Team System, there is a problem that when you set a script breakpoint, sometimes the cursor goes somewhere else.) )
Add the debugger at the script point;
Or, with Firefox, it has its own debugging.