How to Enable ASP.NET Debugging in Plesk

here may be times you need to see more logging or debugging information for your ASP.NET application. You will need to perform this via Plesk using the ASP.NET Settings icon or you could even do it directly via the web.config file itself using file manager.

aspnet debugging

And within the web.config an example below:

<configuration>  
    ...  
    <system.web>  
        <compilation debug="true"  
            ...  
        >  
        ...  
        </compilation>  
    </system.web>  
</configuration>  


Note: Be sure to disable ASP.NET Debugging when done with your Debugging of your application - leaving it on could cause numerous issues for exampe:

1) The compilation of ASP.NET pages takes longer (since some batch optimizations are disabled)

2) Code can execute slower (since some additional debug paths are enabled)

3) Much more memory is used within the application at runtime

4) Scripts and images downloaded from the WebResources.axd handler are not cached

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

Do your windows shared hosting accounts support MVC4 and MCV5?

Only our Plesk Windows Shared Hosting accounts support MVC4 and MCV5 applications. When you...

Sending Email via C# and ASP.NET

Add the following to your web.config file:  <system.net>    <mailSettings>...

Force to HTTPS

In the following example we will redirect HTTP to HTTPs using URL Rewrite:Edit your web.config...

How do I enable detailed error messages in the web.config of my website?

Detailed Errors allows for debugging errors in your websites code. Without detailed errors...

ASP.NET Session Timeout

This in-depth analysis helps you know the problem and workaround when you experienced ASP.NET...