ASP.NET Debug mode is often used in development environments, but sometimes used when troubleshooting issues in production environments. It is extremely useful in development environments but can cause significant performance problems as well as potential security issues. Here we are looking at your root web.config's system.web compilation node for the debug attribute.
Constant Care for Kentico will ensure the debug attribute in the web.config file is false (default)
You can manage your settings for this checkup in the Constant Care for Kentico admin settings.
To confirm this setting you will want to look for the following code in your root web.config file. We recommend this be set to false on production environments as it can greatly reduce performance.
You can find more information on debugging you can visit Microsoft's information on the subject here:
How to create a web.config transformations for release mode: