David Walker | 28 June 2012
To set it up we need to do the following:
Part 1 - Configuring IE
IE has to be your default browser. Switch it back later if you want but without it every other step will not work.
- Open IE and choose Internet options (on most browsers done by clicking on the cog Icon at the right of the screen).
- Chose the Advanced tab and within find the Browsing section and uncheck the Disable both Script debugging options.
- Apply your changes
Part2 - Setting up a project to allow debugging
- Within the web.config file you must have debug enabled it is false by default so check if the following code is setup:
- As a note you want to put this back to false for product release.
- Then run the page in debug mode by pressing F5
- When IE hits the script it will pass the captured debug back to Visual Studio. Very usefully you can step through or jump on to other breakpoints even if the Breakpoints are in server and not client code.