PrestaShop Developer Conference
PrestaShop Developer Conference
Paris, France - November 6, 2024
Let's talk code, commerce and open source.

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

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