flask
flask copied to clipboard
CLI flask run describes that uses --debug to enable debugger and reloader, but flask run does not have the -- debug option
flask run --help description: The reloader and debugger are enabled by default with the '--debug' option. But when I use flask run --debug, it tells me that there is no --debug option
flask run --debug

According to the description of flask run --help, the --debug option should be supported.
Environment:
- Python version: 3.10.6
- Flask version: 2.2.2
The --debug
option is for flask
itself, not the subcommand (e.g. run
):
flask --debug run