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:
Mike Rossetti 2022-12-26 12:51:57 -05:00 committed by GitHub
parent 229dcbb5ce
commit 62cc291e8e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -104,11 +104,11 @@ error occurs during a request.
security risk. Do not run the development server or debugger in a
production environment.
To enable debug mode, use the ``--debug`` option.
To enable debug mode, use the ``--debugger`` option.
.. code-block:: text
$ flask --app hello run --debug
$ flask --app hello run --debugger
* Serving Flask app 'hello'
* Debug mode: on
* Running on http://127.0.0.1:5000 (Press CTRL+C to quit)