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

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

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

Learn how to upgrade to the latest version.

Configuration domain

Configuration Commands

SwitchDebugModeCommand

PrestaShop\PrestaShop\Core\Domain\Configuration\Command\SwitchDebugModeCommand Switches debug mode on/off

Command details
Constructor parameters
  • $bool $enableDebugMode
Handler class PrestaShop\PrestaShop\Adapter\Configuration\CommandHandler\SwitchDebugModeHandler

Implements:

  • PrestaShop\PrestaShop\Core\Domain\Configuration\CommandHandler\SwitchDebugModeHandlerInterface
Return type void

Configuration Queries