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 are the difference between asynchronous controller implementation between asp.net mvc 3 & asp.net mvc 4?

0 Answers  


what is code first approach?

0 Answers   Microsoft,


js fn to go to the particular page when enter is clicked

1 Answers  


What is .net framwork? what is web application? what is CLR? How does work CLR & wht is work of CLR? What is compile? wht is thread? what does use in .net?

4 Answers   IBM, NIIT,


What are HTML Helpers, AJAX Helpers in ASP.Net MVC?

0 Answers  






what is the three pillar of .Net ?

11 Answers  


What is difference between constants, readonly and, static

1 Answers  


List out few different return types of a controller action method?

0 Answers  


Speaking of Boolean data types, what's different between C# and C/C++ ?

1 Answers  


Why are there five tracing levels in System.Diagnostics.TraceSwitcher?

1 Answers  


Does Tempdata hold the data for other request in ASP.Net MVC?

0 Answers  


What is the domain object?

0 Answers  


Categories