The debug mode is widely used to see the errors on your shop and when:
- you get blank pages;
- you get 500 Internal Server Error;
- you have strage issues with your shop and don't know where to start;
Edit:
Debug mode on PrestaShop 8.0
PrestaShop Dashboard > Advanced Parameters > Performance > DEBUG MODE PANEL > Set it to YES
Debug mode on PrestaShop 1.7
PrestaShop Dashboard > Advanced Parameters > Performance > DEBUG MODE PANEL > Set it to YES
To turn on the Debug mode on PrestaShop 1.7 is more simple comparing it to the previous versions of Prestashop.
You can do this from your PrestaShop Dashboard > Advanced Parameters > Performance > DEBUG MODE PANEL > Set it to YES
If you can't acces you dashboard you can also enable it through FTP by accessing config/defines.inc.php and usually @line 29 you will find:
define('_PS_MODE_DEV_', false);
change it to:
define('_PS_MODE_DEV_', true);
Turning on the Debug Mode on other versions of Prestashop
Debug mode on PrestaShop 1.5.3 to 1.6
For PrestaShop 1.5.3 to 1.6 the procedure is the same:
Open config/defines.inc.php and usually @line 29 you will find :
define('_PS_MODE_DEV_', false);
change it to:
define('_PS_MODE_DEV_', true);
@ini_set('display_errors', 'off');
@ini_set('display_errors', 'on');
!!! Be careful, turn the Debug Mode off when finished debugging, hackers may get advatage of it and may harm your website and besides of that any visible error is not good for visitors.