Welcome to MSDN Blogs Sign in | Join | Help

News

  • These postings are provided "AS IS" with no warranties, and confer no rights. Use of included code samples are subject to the terms specified Terms of Use
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.

EnablingDebugging

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

Posted: Thursday, October 16, 2008 1:09 AM by WebDevTools

Comments

Visual Studio Hacks said:

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

# October 16, 2008 8:36 AM
Leave a Comment

(required) 

(required) 

(optional)

(required) 

  
Enter Code Here: Required

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Page view tracker