How to set the debug mode



How to set the debug mode..

Answer / kirti

Debug Mode for ASP.NET applications - To set ASP.NET application in debugging mode, edit the application's web.config and assign the "debug" attribute in < compilation > section to "true" as show below:

< configuration >

< system.web >

< compilation defaultLanguage="vb" debug="true" / >

....

...

..

< / configuration >

This case-sensitive attribute 'debug tells ASP.NET to generate symbols for dynamically generated files and enables the

debugger to attach to the ASP.NET application. ASP.NET will detect this change automatically, without the need to restart the server. Debug Mode for ASP.NET Webservices - Debugging an XML Web service created with ASP.NET is similar to the debugging an ASP.NET Web application.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Dot Net Framework Interview Questions

what is deferred loading(lazy loading)?

0 Answers   Microsoft,


Describe the gac in the .net framework.

0 Answers  


Can I redirect tracing to a file

1 Answers  


What is the difference between a Struct and a Class

1 Answers   Siebel Systems,


what are abstract classes? what is overriding?

12 Answers  






what are generics? Without generics what are the disadvantages in 1.1?

3 Answers   HP, iSoft, nTech Solutions,


Explain the advantage of packaging over xcopy in .net?

0 Answers  


What is MVVM design pattern?

0 Answers  


what is .NET ?

18 Answers   TCS,


What is entity graph? : Entity framework

0 Answers  


What is the use of viewmodel in mvc?

0 Answers  


What is .net core framework?

0 Answers  


Categories