In order to access the Debug section of settings you will need to navigate to
Settings >> System Settings >> Debug as shown in the photo below:

You will notice quite a lot of things as follow:

DEBUG – The setting is quite self-explanatory. This is the main configuration setting which will enable or disable the Debug mode. Check the box to enable DEBUG.

Only for IP (optional)– Here you can specify a list of IP addresses which will have access to the debug mode.

Password Protection (HTTP-Auth)– Here you will be able to specify the username and the password if you would like to password protect your website. Keep in mind that this will also password protect all the websites you have in the folder where Pimcore is installed.

Core Logger:
This set of settings contain information and configuration for the main log which will be used for logging errors and Warnings.

PHP error_log – /website/var/log/php.log
The location of the error log specified in that setting. If you are agreed with that location simple leave the checkbox checked.

Application Logger:
Check the box for Send log summary for email.
Mail log summary - filter priority: You can choose from DEBUG to EMERG
Mail log summary receivers: Enter the list of email address here to receive the log summary

The last three options are not a mandatory (Disable Whoops Error Handler, Debug Admin-Translations, DEV-Mode) and you should use them in case of you would like to achieve some concrete Debug functionality provided by them.

When you are ready with all these configurations please use the Save button at the bottom right corner in order for these settings to be saved.

Congratulations! You can now configure the Debug mode of your application based on your needs and personal likes!
Was this article helpful?
Thank you!