Notice: You are browsing the documentation for PrestaShop 9, which is currently in development.
You might want to read the documentation for the current version, PrestaShop 8. Read the current version of this page
prestashop:debug
src/PrestaShopBundle/Command/DebugCommand.php
value
: Value for debug mode, on/off, true/false, 1/0. If left out will just print the current state.Get or set the debug mode from command line.
With this command its easy to switch between debug mode on and off.
To set debug mode on just run the command
bin/console prestashop:debug on
And to take it off
bin/console prestashop:debug off
To read out the debug status of the shop use
bin/console prestashop:debug