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

What are scaffold templates in mvc?

580


explain lazy loading, eager loading, and explicit loading?

570


What is needed for running an application built on winfx on the .net framework 3.0?

515


What is .net framework used for?

586


What are action filters?

602






Which approach provides better support for test driven development - asp.net mvc or asp.net webforms?

507


Explain Bundle.Config in ASP.Net MVC4?

569


How we can call a javascript function on the change of a dropdown list in mvc?

569


what is model first approach?

605


What is the "helperpage.isajax" property?

691


What is a model in android?

495


Explain the methods used to render the views in ASP.Net MVC?

631


What is RouteConfig.cs in ASP.Net MVC 4?

579


What is ado.net data provider? : Entity framework

565


What is an asynchronous controller in asp.net mvc?

545