By default, JavaScript errors are ignored by Internet Explorer. In order to be able to debug in Internet Explorer, you need to:
1. Start Internet Explorer and go to Tools | Internet Options | Advanced and clear the Disable script debugging (Internet Explorer) and Disable script debugging (Other) checkboxes. If you want a pop-up window to be displayed for each error, you need to check the Display a notification about every script error checkbox, as shown in Figure 8-5.
2. Open the solution you want to debug in Visual Studio.
3. Execute the project.
4. After the Internet Explorer window opens, go back to Visual Studio.
5. Open the script explorer by going to Debug | Windows | Script Explorer. The script explorer will list the available script files that can be debugged (see Figure 8-6).
6. Double-clicking a file in the script explorer will open it in the editor. There you can place...