From 62cc291e8ece9a4be83c27b337e28e54c389894b Mon Sep 17 00:00:00 2001 From: Mike Rossetti Date: Mon, 26 Dec 2022 12:51:57 -0500 Subject: [PATCH] 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. --- docs/quickstart.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/quickstart.rst b/docs/quickstart.rst index ad9e3bc4..c90f6e99 100644 --- a/docs/quickstart.rst +++ b/docs/quickstart.rst @@ -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)