Skip to content

[CLI] Add --debug/--no-debug flag to quart run - #443

Closed
princerb wants to merge 2 commits into
pallets:mainfrom
princerb:f-cli-quart-run-debug
Closed

[CLI] Add --debug/--no-debug flag to quart run#443
princerb wants to merge 2 commits into
pallets:mainfrom
princerb:f-cli-quart-run-debug

Conversation

@princerb

@princerb princerb commented Aug 5, 2025

Copy link
Copy Markdown
Contributor

This PR brings Quart's CLI in line with Flask's by exposing an explicit --debug/--no-debug option on the quart run command.

Usage: quart run [OPTIONS]

  Run a local development server.

Options:
  --debug / --no-debug     Set 'app.debug' separately from '--env'.
  -h, --host TEXT          The interface to bind to.
  -p, --port INTEGER       The port to bind to.
  --certfile, --cert FILE  Specify a certificate file to use HTTPS.
  --keyfile, --key FILE    The key file to use when specifying a certificate.
  --reload / --no-reload   Enable or disable the reloader
  --help                   Show this message and exit.

Tests added.

fixes #354

@pgjones

pgjones commented Jul 23, 2026

Copy link
Copy Markdown
Member

Thanks, merged manually as 5f90c1c

@pgjones pgjones closed this Jul 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Enable debug mode from CLI

2 participants