Django Debug Toolbar for GraphiQL IDE
- Python ≥ 3.4
- Django ≥ 1.11
Install last stable version from Pypi.
pip install django-graphiql-debug-toolbar
See the documentation for further guidance on setting Django Debug Toolbar.
Add graphiql_debug_toolbar
to your INSTALLED_APPS settings:
INSTALLED_APPS = [
...
'debug_toolbar',
'graphiql_debug_toolbar',
]
Replace the Django Debug Toolbar middleware with the GraphiQL Debug Toolbar one.
MIDDLEWARE = [
...
# 'debug_toolbar.middleware.DebugToolbarMiddleware',
'graphiql_debug_toolbar.middleware.DebugToolbarMiddleware',
...
]
Panels rendering is not supported in multiprocess environment.
Credits to @jazzband / django-debug-toolbar.