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

  1. Open config/defines.inc.php in your code editor or in cPanel File Manager
  2. Locate the following line
    define('_PS_MODE_DEV_', false);
  3. Change to
    define('_PS_MODE_DEV_', true);
  4. 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.