show 'run --debug' in docs

Reverts commit 4d69165ab6. Now that a
release has this option, it's ok to show it in the docs. It had been
reverted because the 2.2.x docs showed it before 2.2.3 was released.
This commit is contained in:
David Lord 2023-02-15 14:24:56 -08:00
parent b945f988f9
commit 24df8fc89d
No known key found for this signature in database
GPG key ID: 7A1C87E3F5BC42A8
8 changed files with 23 additions and 15 deletions

View file

@ -43,7 +43,7 @@ The debugger is enabled by default when the development server is run in debug m
.. code-block:: text
$ flask --app hello --debug run
$ flask --app hello run --debug
When running from Python code, passing ``debug=True`` enables debug mode, which is
mostly equivalent.
@ -72,7 +72,7 @@ which can interfere.
.. code-block:: text
$ flask --app hello --debug run --no-debugger --no-reload
$ flask --app hello run --debug --no-debugger --no-reload
When running from Python: