mirror of
https://github.com/pallets-eco/flask-debugtoolbar.git
synced 2026-01-05 13:09:45 -06:00
d886f5a606f26d78df457e7041c5666e0e5bbc6d
app.config['DEBUG_TB_HOSTS'] Example: app.config['DEBUG_TB_HOSTS'] = ( '127.0.0.1', '::1' ) If the request’s REMOTE_ADDR is not in this list, the toolbar will not be displayed and the exception handler will not be active. This should be a tuple. Default: (). Empty list remains backward compatibility. If DEBUG_TB_HOSTS not specified in app.config, the debug toolbar is shown for all addresses.
Flask Debug-toolbar A port of the django-debug toolbar (github.com/robhudson/django-debug-toolbar) to Flask. Usage:: from flask import Flask from flaskext.debugtoolbar import DebugToolbarExtension app = Flask(__name__) toolbar = DebugToolbarExtension(app)
Description
Languages
JavaScript
75.3%
Python
16.3%
HTML
5.1%
CSS
3.3%