Tip #14: Did you know…How to enable debugging of your Web Site?
To run a page in Debug mode you will have to choose Debug –> Start Debugging or just press F5.
Debugging support is not enabled by default and if you have not run the debugger before on this web site, you will need to configure it. This is internally driven by a setting in Web.cong file. By default, debug is set to ”false” in compilation section of web.config file.
<compilation debug="false" strict="false" explicit="true">
</compilation>
When you hit F5 for the first time, you will see the Debugging not enabled message box as
shown below.
If you click OK, Visual Web Developer will modify web.config to show debug=”true” as shown below.
<compilation debug="true" strict="false" explicit="true">
</compilation>
Reshmi Mangalore
SDET, Web Development Tools
Comments
- Anonymous
October 16, 2008
My latest in a series of the weekly, or more often, summary of interesting links I come across related to Visual Studio. Channel 9 Stuff: Anders Hejlsberg and Guy Steele- Concurrency and Language Design The Concurrency Runtime- Fine Grained Parallelism