Skip to content

Commit

Permalink
Add documentation for debug command
Browse files Browse the repository at this point in the history
  • Loading branch information
tswfi committed Nov 17, 2021
1 parent 42dba06 commit 1b78431
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions development/components/console/prestashop-debug.md
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
```

0 comments on commit 1b78431

Please sign in to comment.