enable debug mode prestashop 1.7 code example Example: How to switch debug mode on / off in prestashop // In config/defines.inc file edit line 29 to true or false