Skip to main content

Checkup Documentation

Disable debugging

cms-settingskey-debug-enabled

severity-high

Summary

Debug mode is often used in development environments, but sometimes used when troubleshooting issues in production environments. When Debug mode is on in Kentico Xperience it allows you to monitor internal activity within the system. You can use the debugging tools to find and fix problems with performance or specific features that are not behaving as designed. Often times we find this setting turned on in production when it should not be. Having it enabled causes significant performance issues, as well as potential security issues in public environments (e.g. production).


Check Logic

Constant Care for Kentico will ensure the debug settings are turned off (default)

You can manage your settings for this checkup in the Constant Care for Kentico admin settings.


Verifying The Check

To determine what your site's debug mode is set to you can navigate to the Settings Application and then find the System > Debug settings.

From there you will want to verify the settings on this page. There are many settings here but the primary one to check is the Disable Debugging checkbox. It is highly recommended that this setting be set to true (checked) in production environments. It overrides all the other debug settings.

MVC Sites

Debugging in MVC live sites must be implemented via custom code. For more information on this please visit the code-web-config-debug-enabled Constant Care checkup or reach out to the Toolkit For Kentico team.

Changes to your site should only be made by an experienced Kentico Xperience developer. If you need assistance in making these changes please reach out to the Toolkit For Kentico team to be connected with a Kentico Xperience partner.