Asked 3 years ago
3 Dec 2020
Views 641

posted

How to enable debug mode on PrestaShop ?

i am using PrestaShop 1.6 , want to on error reporting , so is there any way to on debug mode ?
iPhone-coder

iPhone-coder
answered Nov 30 '-1 00:00

go to file config/defines.inc.php
and find _PS_MODE_DEV_ and make it true


define('_PS_MODE_DEV_', false);


change it to:


define('_PS_MODE_DEV_', true);
chirag

chirag
answered Nov 30 '-1 00:00

1. Go to the directories config
2. Open the file defines.inc.php;
3. In the file defines.inc.php find the line

define( ‘_PS_MODE_DEV_’, false);  


4. Replace the line

 define( ‘_PS_MODE_DEV_’, false)


with

define( ‘_PS_MODE_DEV_’, true)


and save the changes.
Post Answer