revert run debug docs

This commit is contained in:
David Lord 2022-12-29 09:51:34 -08:00
parent 229dcbb5ce
commit 4d69165ab6
No known key found for this signature in database
GPG key ID: 7A1C87E3F5BC42A8
7 changed files with 10 additions and 10 deletions

View file

@ -47,12 +47,12 @@ Debug Mode
The :data:`DEBUG` config value is special because it may behave inconsistently if
changed after the app has begun setting up. In order to set debug mode reliably, use the
``--debug`` option on the ``flask run`` command. ``flask run`` will use the interactive
``--debug`` option on the ``flask`` command. ``flask run`` will use the interactive
debugger and reloader by default in debug mode.
.. code-block:: text
$ flask --app hello run --debug
$ flask --app hello --debug run
Using the option is recommended. While it is possible to set :data:`DEBUG` in your
config or code, this is strongly discouraged. It can't be read early by the ``flask run``