forked from PrestaShop/docs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
35 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
--- | ||
title: prestashop:debug | ||
--- | ||
|
||
# `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 | ||
|
||
```bash | ||
bin/console prestashop:debug on | ||
``` | ||
|
||
And to take it off | ||
|
||
```bash | ||
bin/console prestashop:debug off | ||
``` | ||
|
||
To read out the debug status of the shop use | ||
|
||
```bash | ||
bin/console prestashop:debug | ||
``` |