Skip to content

disable Flask debug mode for inbound helper outside local dev - #1137

Open
sbansla wants to merge 1 commit into
mainfrom
fix-inbound-debug-mode
Open

sbansla wants to merge 1 commit into
mainfrom
fix-inbound-debug-mode

Conversation

@sbansla

@sbansla sbansla commented Nov 24, 2026 •

Copy link
Copy Markdown

The inbound helper's production check set config.debug instead of config.debug_mode, so Heroku deploys exposed the Werkzeug /console debugger. Debug is now on only when explicitly enabled, on the default local port and with ENV != prod. debug_mode also defaults to False now. Tests added.

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.

1 participant