Goal: The most comprehensive, performant, and feature-rich debug toolbar for ASGI Python applications.
Last Updated: 2025-11-30
- MCP Server for AI Assistant Integration
- FileToolbarStorage for cross-process data sharing
- Published to PyPI as
litestar-debug-toolbar
- PR #16 - MCP Server for AI Assistant Integration
- PR #17 - Release v0.3.0 version bump
- PR #18 - Documentation updates (MCP screenshot, API docs)
- PR #19 - WebSocket Panel for real-time connection tracking
| Feature Category | Our Status | Industry Best |
|---|---|---|
| Core Panels | 18 panels | Django (15 panels) |
| WebSocket Debugging | Best-in-class (live tracking, message inspection) | Unique - nobody else has this |
| Async Support | Best-in-class | Spotlight (also async) |
| Database Debugging | Best-in-class (EXPLAIN + N+1) | Django (EXPLAIN only) |
| Security Features | Best-in-class (Alerts Panel) | We lead here |
| Memory Profiling | Best-in-class (multi-backend) | None have this depth |
| Flame Graphs | Complete | Django (plugin only) |
| Async Profiling | Best-in-class (task tracking, blocking detection) | Unique - nobody else has this |
| GraphQL Debugging | Best-in-class (N+1, resolver timing, Strawberry) | FastAPI (basic only) |
| AI Integration | Best-in-class (MCP Server) | Spotlight (MCP) |
| Distributed Tracing | Missing | Spotlight (Sentry) |
All foundational work complete:
- Core architecture (config, context, storage, panels)
- 18 panels implemented (Timer, Request, Response, Logging, Versions, Routes, SQLAlchemy, Profiling, Headers, Settings, Cache, Templates, Events, Alerts, Memory, AsyncProfiler, GraphQL, WebSocket)
- Litestar integration (middleware, plugin, routes)
- Full UI with history, positioning, resizing, themes
- CI/CD pipelines configured
- 574+ tests passing
- Unit tests (524 tests)
- Integration tests
- CI/CD workflows
- Documentation restructure (PR #6)
- Performance benchmarks
- API documentation expansion
- PyPI packaging
- Release automation (Sigstore signing, trusted publishers)
- v0.3.0 released to PyPI
- EXPLAIN Plan Integration (PR #5)
- N+1 Query Detection (PR #8)
- Litestar Events Panel (PR #9)
- Alerts Panel (PR #10)
- GraphQL Panel with Strawberry (PR #15)
- Memory Profiling Panel (PR #12)
- Flame Graph Integration (PR #11)
- Async Profiler Panel (PR #14)
- MCP Server Integration (PR #16)
- 10 MCP tools for analysis
- 10 MCP resources for data access
- Security utilities for sensitive data redaction
- CLI entry point (
python -m debug_toolbar.mcp) - Example with shared storage pattern
- Claude Code / Cursor integration ready
- FileToolbarStorage for cross-process data sharing
- Comprehensive MCP documentation (docs/mcp.md)
- Screenshot in README and docs
- Starlette adapter (core ASGI middleware)
- FastAPI adapter (builds on Starlette)
- Framework detection and auto-configuration
- OpenTelemetry integration
- Cross-service request tracing
- Span correlation
- Performance benchmarks
- API documentation expansion
- Usage guides for each panel
- WebSocket connection tracking
- Message logging (sent/received with expandable content)
- Connection lifecycle (connect, disconnect, close codes)
- Real-time panel rendering with custom JS
- WebSocket statistics (bytes sent/received, message counts)
- Live updates via WebSocket endpoint (
/_debug_toolbar/ws/live) - Event broadcasting to live subscribers
- Max connections enforcement to prevent memory growth
- Example application with Echo and Chat WebSocket demos
- Unit and integration tests (45+ new tests)
- ✅ 18 panels (more than any competitor)
- ✅ Best-in-class async profiling
- ✅ GraphQL debugging
- ✅ MCP server for AI integration
- ✅ WebSocket debugging with live updates (unique feature)
- Multi-framework support (FastAPI, Starlette)
- OpenTelemetry integration
- 1000+ GitHub stars
This plan positions async-python-debug-toolbar as the definitive debugging solution for modern async Python applications.