Warning: You are browsing the documentation for PrestaShop 8, which is outdated.

You might want to read an updated version of this page for the current version, PrestaShop 9. Read the updated version of this page

Learn how to update to the latest version.

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