CityHost.UA
Help and support

Enabling debug mode in PrestaShop

Debug mode (debug mode) is used to see errors in the site, for example, in cases when:

 

• a blank page is displayed instead of content

• the site does not work and returns an error with code 500

• there are problems in the site that cannot be diagnosed without debug mode

 

Enabling debug mode through the site admin

Go to your site admin ? Advanced Parameters ? Performance ? Debug mode ? Enable debug mode by toggling the switch to On and save the settings.

 


 

Enabling debug mode through the config file

Use [file manager] or [via FTP] open the following configuration file of your site:

your_site/config/defines.inc.php

 

Find the following line:

define('_PS_MODE_DEV_', false);

 

Replace false with true, the result should be as follows:

define('_PS_MODE_DEV_', true);

 

Save the changes in the file, from now on debug mode is enabled. You can disable debug mode in the reverse sequence.


Similar articles