Debugging PrestaShop helps you quickly find and fix errors and warnings in your PrestaShop site code, modules and themes.
By default, PrestaShop does not show warnings or errors. Enabling debugging is easy.
Steps to enable debugging in PrestaShop version 1.5.3 and later
- Open config/defines.inc.php in your code editor or in cPanel File Manager
- Locate the following line
- Change to
- Save your changes
Your PrestaShop site will now display any errors, notices and warnings from your plugins, themes and code.
For security we strongly recommend disabling PS_MODE_DEV once you’ve finished debugging.