Prefer flask run --debug in docs

This commit is contained in:
Grey Li 2022-08-23 12:44:50 +08:00 committed by David Lord
parent 4bc0e4943d
commit bd26928fdb
No known key found for this signature in database
GPG key ID: 7A1C87E3F5BC42A8
9 changed files with 15 additions and 19 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: