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

Feature Request: ability to have DEBUG_TB_ENABLED=True but some way to exclude arbitrary Flask endpoints #159

Closed
jerrydboonstra opened this issue Dec 15, 2021 · 2 comments

Comments

@jerrydboonstra
Copy link

jerrydboonstra commented Dec 15, 2021

I like to have this toolbar turned on in my cloud -based test environments, but I don't want it to appear on, say, a login page.

It would be wonderful to have either a DEBUG_TB_DENY_PATHS: list[str] in configuration, or a @deny_debugtoolbar route annotation.

@acbart
Copy link

acbart commented Jan 17, 2024

Yes, this would be a very useful feature. Not sure why there isn't a way to disable this on a per-route basis? I have some routes that don't make sense to have debug bars.

@davidism
Copy link
Member

davidism commented May 1, 2024

Duplicate of #125

@davidism davidism marked this as a duplicate of #125 May 1, 2024
@davidism davidism closed this as completed May 1, 2024
@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 16, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

3 participants