How to set the debug mode

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

How to bind table colum with gridview column?

609


What is web api‘s in asp.net mvc 4 ?

582


What is edm in entity framework?

527


what is eager loading?

571


What is meant by tempdata in mvc?

535






Which version of the common language runtime (clr) does the .net framework 3.0 use?

561


What is partialview in asp.net mvc?

593


What is domain class model?

514


What are non action methods in mvc?

542


What is entitycontainer? : Entity framework

577


Does razor engine supports for tdd?

732


Explain how to use multiple submit buttons in ASP.Net MVC?

642


What is action methods in web api?

525


What is associationset? : Entity framework

560


What is .net framework & its benefits?

517