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

Not working with flask 3.1.0 #298

Open
learncodingforweb opened this issue Jan 26, 2025 · 0 comments
Open

Not working with flask 3.1.0 #298

learncodingforweb opened this issue Jan 26, 2025 · 0 comments

Comments

@learncodingforweb
Copy link

from flask import Flask
from flask_debugtoolbar import DebugToolbarExtension


app=Flask(__name__)
app.debug=True

app.config['SECRET_KEY']="sjsdghesrhgnesrkgnesr"
# app.config["DEBUG_TB_INTERCEPT_REDIRECTS"] = True
# app.config["DEBUG_TB_ENABLED"] = True


toolbar = DebugToolbarExtension(app)
# toolbar.init_app(app)

@app.route('/')
def index():
    return "home page"

if __name__=='__main__':
    app.run(host='0.0.0.0', port=9000)

Environment:
using uv for dependecy management

[project]
name = "flask-debugger-tutorial"
version = "0.1.0"
description = "Add your description here"
readme = "README.md"
requires-python = ">=3.13"
dependencies = [
    "flask>=3.1.0",
    "flask-debugtoolbar>=0.16.0",
]

Not able to see any toolbar in browser, i tried on chrome and firebox browser

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant