You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
FLASK_DEBUG env variable no longer works as of click 8.4.0 #6025
FLASK_DEBUG=1 was working previously to set flask's debug mode either in a .env/.flaskenv and using python-dotenv OR by manually setting with export FLASK_DEBUG=1. As of today, setting it by env variable no longer works. Flask will still use debug mode using the --debug flag. Downgrading click to 8.3.3 resolves the issue.
Activity
davidism commentedon May 21, 2026
This will be fixed in Click 8.4.1, see pallets/click#3484. Closing to avoid more AI generated junk PRs in the meantime.
davidism commentedon May 22, 2026
Click 8.4.1 is released and fixes this.