Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable debug mode from CLI #354

Open
FichteFoll opened this issue Aug 15, 2024 · 1 comment
Open

Enable debug mode from CLI #354

FichteFoll opened this issue Aug 15, 2024 · 1 comment

Comments

@FichteFoll
Copy link

I would like my local development server to start in debug mode, though I have to admit I don't know what the differences between normal and debug mode are since there does not appear to be any documentation about it. However, the line " * Debug mode: False" in print output definitely seems to indicate at debug mode being something that exists and when developing, it probably makes sense to enable it.

Currently, it seems the only option to do so is by a custom Python entry point that runs app.run(debug=True).


Somewhat related is that the --help option mentions that --reload and --no-reload can be used to enable or disable the reloader, but the default isn't mentioned anywhere.

@ericlich001
Copy link

You can set QUART_DEBUG=1 in the environment to enable debug mode. I hope this helps you a bit.

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

No branches or pull requests

2 participants