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


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


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

Configuration Queries