debug.attach
Connect to JVM via JDWP
How to use it
debug.attach is exposed by the Jdwp MCP MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the debug.attach tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.
Install Jdwp MCP
$
claude mcp add --scope project jdwp /path/to/jdwp-mcp/target/release/jdwp-mcpOther tools in Jdwp MCP (12)
debug.clear_breakpoint
Remove a breakpoint
debug.continue
Resume execution
debug.disconnect
End debug session
debug.evaluate
Evaluate expression
debug.get_stack
Get stack frames with variables
debug.list_breakpoints
List active breakpoints
debug.list_threads
List all threads
debug.pause
Pause execution
debug.set_breakpoint
Set breakpoint at class:line
debug.step_into
Step into method
debug.step_out
Step out of method
debug.step_over
Step over current line