PyDebug

•

Provides live Python debug context for automation, accessible via a dedicated MCP server.

PyDebug offers a robust solution for accessing live Python debug context, particularly useful for MCP-based automation and AI clients. It consists of two main components: an external Python MCP server named `PyDebugMCP` and a VS Code extension called `PyDebugBridge`. This architecture ensures stability and independent operation, allowing the MCP server to remain active even when VS Code reloads. The system exposes live debug data, including session summaries, stack frames, and variable snapshots, over local HTTP with token authentication, facilitating programmatic interaction with ongoing Python debug sessions.

主要功能

01Supports standard Debug Adapter Protocol (DAP) requests with Python-focused filtering
02Secure local HTTP communication with bearer token authentication
03External Python MCP server for stable debug context
040 GitHub stars
05Programmatic access to debug sessions, snapshots, and console evaluation
06VS Code extension (`PyDebugBridge`) exposing live debug data

使用案例

01Integrating live Python debug context into MCP-based automation workflows
02Programmatically inspecting variables and evaluating expressions in a paused Python debugger
03Enabling AI clients to query and interact with active Python debug sessions