Update debugger flag
I am running Flask 2.2.2. The `--debug` option that's currently mentioned in the docs leads to an error, while changing it to `--debugger` works! So updating the docs.
This commit is contained in:
parent
229dcbb5ce
commit
62cc291e8e
1 changed files with 2 additions and 2 deletions
|
|
@ -104,11 +104,11 @@ error occurs during a request.
|
||||||
security risk. Do not run the development server or debugger in a
|
security risk. Do not run the development server or debugger in a
|
||||||
production environment.
|
production environment.
|
||||||
|
|
||||||
To enable debug mode, use the ``--debug`` option.
|
To enable debug mode, use the ``--debugger`` option.
|
||||||
|
|
||||||
.. code-block:: text
|
.. code-block:: text
|
||||||
|
|
||||||
$ flask --app hello run --debug
|
$ flask --app hello run --debugger
|
||||||
* Serving Flask app 'hello'
|
* Serving Flask app 'hello'
|
||||||
* Debug mode: on
|
* Debug mode: on
|
||||||
* Running on http://127.0.0.1:5000 (Press CTRL+C to quit)
|
* Running on http://127.0.0.1:5000 (Press CTRL+C to quit)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue