debug_evaluate
evaluate an expression in a paused frame.
How to use it
debug_evaluate is exposed by the Vibe Debug MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the debug_evaluate tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.
Install Vibe Debug
npx -y github:illscience/vibe-debug doctorOther tools in Vibe Debug (11)
attach to an existing debugpy listener.
continue until breakpoint, exception, process exit, or timeout.
returns instructions that tell agents when to use the debugger.
launch a Python script under debugpy.
best first tool for a reproducible Python bug. It launches a Python script under debugpy, sets breakpoints, continues to the first stop, and returns stack plus top-frame locals.
inspect scope handles for a frame.
set file/line breakpoints.
inspect stack frames.
step over, into, or out.
disconnect and clean up a session.
expand locals, globals, objects, lists, or dicts.