Notice: You are browsing the documentation for PrestaShop 8, which is currently in development.

You might want to look at the current version, PrestaShop 1.7.

prestashop:debug

Informations

  • Path: src/PrestaShopBundle/Command/DebugCommand.php
  • Arguments:
    • value: Value for debug mode, on/off, true/false, 1/0. If left out will just print the current state.

Description

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