File tree Expand file tree Collapse file tree 3 files changed +12
-21
lines changed Expand file tree Collapse file tree 3 files changed +12
-21
lines changed Original file line number Diff line number Diff line change 122122/cookbook/console/logging /console/logging
123123/cookbook/console/request_context /console/request_context
124124/cookbook/console/style /console/style
125- /cookbook/console/usage /console/usage
125+ /cookbook/console/usage /console
126+ /console/usage /console
126127/cookbook/controller/csrf_token_validation /controller/csrf_token_validation
127128/cookbook/controller/error_pages /controller/error_pages
128129/cookbook/controller/forwarding /controller/forwarding
Original file line number Diff line number Diff line change @@ -9,6 +9,16 @@ The Symfony framework provides lots of commands through the ``bin/console`` scri
99created with the :doc: `Console component </components/console >`. You can also
1010use it to create your own commands.
1111
12+ The Console: APP_ENV & APP_DEBUG
13+ ---------------------------------
14+
15+ Console commands run in the :ref: `environment <config-dot-env >` defined in the ``APP_ENV ``
16+ variable of the ``.env `` file, which is ``dev `` by default. It also reads the ``APP_DEBUG ``
17+ value to turn "debug" mode on or off (it defaults to ``1 ``, which is on).
18+
19+ To run the command in another environment or debug mode, edit the value of ``APP_ENV ``
20+ and ``APP_DEBUG ``.
21+
1222Creating a Command
1323------------------
1424
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments