
It is can do by this modification of the «/config/defines.inc.php» file.
1 open in a text editor '/config/defines.inc.php' file and before this code:
/* Debug only */
if (!defined('_PS_MODE_DEV_'))
define('_PS_MODE_DEV_', false);
2 place the code:
// may be helpful when the shop on the production but needed debug for a programmer
// enabling debug mode by get-param when _PS_MODE_DEV_ is false
// comment next 3 lines when the debugging has done
if (!defined('_PS_MODE_DEV_') && isset($_GET['debug_me']))
define('_PS_MODE_DEV_', true);
else
The result of the modification should look like this:
To use it a programmer should append to URL an additional param 'debug_me', for example:
http://localhost/en/tshirts/1-faded-short-sleeve-tshirts.html?debug_me
Or like this if the 'Friendly URL' option is disabled:
http://localhost/index.php?id_product=1&controller=product&id_lang=1&debug_me
When the debugging has done just comment by pair '//' those 3 lines of the new code to disable the feature but for further use.