skillfed

django-graphiql-debug-toolbar

Django Debug Toolbar for GraphiQL IDE.

django-graphiql-debug-toolbar v0.2.0 177.4K downloads/30d#10,214 on PyPI72
Permissive license MIT DORMANT released

What it is and what it does

This package adapts Django Debug Toolbar—a widely-used development tool that profiles database queries, HTTP headers, and request timing—to work inside the GraphiQL IDE for GraphQL queries. Instead of viewing debug output in a separate browser panel, you get profiling and inspection data directly within your GraphQL development environment.

It works by replacing the standard Django Debug Toolbar middleware with a GraphiQL-aware version that captures the same diagnostic information but surfaces it in the IDE. The package depends on Django, graphene-django, and django-debug-toolbar, so you need all three installed. Setup is minimal: add it to INSTALLED_APPS and swap the middleware class in your settings.

Use it for:

  • Inspect database queries triggered by a GraphQL resolver without leaving the GraphiQL IDE.
  • Profile response times and identify performance bottlenecks in GraphQL queries during development.
  • Debug HTTP headers and middleware behavior for GraphQL requests in real time.
  • Monitor memory usage and request metadata while testing GraphQL resolvers locally.

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

Integrates Django Debug Toolbar into the GraphiQL IDE, providing performance profiling and debugging information directly within GraphQL query execution.

Yes, if you are actively developing a Django GraphQL API and want integrated debugging without context-switching. No, if your project uses Django or Python versions significantly newer than 2021, or if you rely on ongoing maintenance—the package is dormant and may not work with current tooling. Consider it for greenfield projects or teams committed to older Django LTS versions.

Install

django-graphiql-debug-toolbar on PyPI

pip

pip install django-graphiql-debug-toolbar

uv

uv add django-graphiql-debug-toolbar

poetry

poetry add django-graphiql-debug-toolbar

Installing django-graphiql-debug-toolbar

Before you install

Low friction install with three straightforward dependencies. Maintenance is dormant—last release was in August 2021 and no commits since July 2024—so expect no active bug fixes or compatibility updates for newer Django or Python versions.

License in practice

MIT license is permissive; you can use, modify, and distribute this package freely with minimal restrictions.

Quickstart

pip install django-graphiql-debug-toolbar

# In settings.py
INSTALLED_APPS = [
    'debug_toolbar',
    'graphiql_debug_toolbar',
]

MIDDLEWARE = [
    'graphiql_debug_toolbar.middleware.DebugToolbarMiddleware',
]

# Then use GraphiQL as normal; debug toolbar appears in the IDE

Requires Django ≥ 2.2 and Python ≥ 3.6; you must also have graphene-django and django-debug-toolbar installed and configured.

Verify before relying

  • Whether this package works reliably with Django versions released after August 2021 (3.2 is the latest classifier listed).
  • Current compatibility with modern Python 3.10+ and recent graphene-django releases.
  • Whether the GraphiQL IDE integration still functions with current GraphQL tooling.

Package facts

License MIT (permissive)
Python support supports the current Python release (>=3.6,<4.0)
Install friction low — pure-Python wheel
Runtime dependencies 3 — Django, graphene-django, django-debug-toolbar
Maintenance dormant — 1,812 days since the last release
Last repo commit
First released
Downloads 177,412/month — #10,214 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: django_graphiql_debug_toolbar-0.2.0-py3-none-any.whl

Keywords: django, graphql, graphiql, debug

Development Status :: 4 - BetaEnvironment :: Web EnvironmentFramework :: DjangoFramework :: Django :: 2.2Framework :: Django :: 3.0Framework :: Django :: 3.1Framework :: Django :: 3.2Intended Audience :: DevelopersIntended Audience :: Information TechnologyIntended Audience :: System AdministratorsLicense :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.6Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Topic :: InternetTopic :: Internet :: WWW/HTTPTopic :: Internet :: WWW/HTTP :: HTTP ServersTopic :: Software DevelopmentTopic :: Software Development :: DebuggersTopic :: Software Development :: LibrariesTopic :: Software Development :: Libraries :: Python ModulesTopic :: Utilities

Tags

graphql debugging toolbardjango graphiql profilergraphql query performance analysisdjango debug toolbar graphqlgraphiql development toolsgraphql request inspectiondjango graphql debugging
graphql-debuggingdjango-dev-tools

More Software Development packages

typing-extensions

Provides backported and experimental type hints…

permissive · top 100 on PyPI

numpy

NumPy provides an N-dimensional array object…

permissive · top 100 on PyPI

fastapi

FastAPI is a Python web framework for building…

permissive · top 100 on PyPI

annotated-doc

Provides a way to document function parameters,…

permissive · top 100 on PyPI

typer

Typer builds command-line applications from…

permissive · top 1,000 on PyPI

distlib

Distlib provides low-level packaging utilities…

permissive · top 1,000 on PyPI

django-debug-toolbar

Displays debug information panels in Django…

permissive · top 5,000 on PyPI

django-debug-toolbar-template-profiler

Adds a debug panel to django-debug-toolbar that…

permissive · top 15,000 on PyPI

django-debug-toolbar-template-timings

A Django Debug Toolbar panel that measures and…

unclear · top 15,000 on PyPI

django-analytical

Integrates multiple third-party analytics…

permissive · top 15,000 on PyPI

djdt-flamegraph

Integrates flame graph visualization into…

permissive · top 15,000 on PyPI

aiohttp-debugtoolbar

Adds an interactive debug toolbar to aiohttp…

permissive · top 15,000 on PyPI

Flask-DebugToolbar

Flask-DebugToolbar injects a debugging sidebar…

permissive · top 5,000 on PyPI

requests-tracker

A Django development middleware that collects…

permissive · top 15,000 on PyPI

Flask-GraphQL

Adds a GraphQL endpoint to Flask applications,…

permissive · top 15,000 on PyPI

django-silk

Silk intercepts and profiles HTTP requests,…

permissive · top 5,000 on PyPI