expose_session
Create a read-only DAP mirror endpoint for a debug session so an IDE can attach as a second client and inspect live threads, stack, scopes, variables, and evaluate.
Instructions
Expose a debug session as a read-only DAP mirror endpoint on 127.0.0.1 so an IDE (e.g. VS Code) can attach as a second debug client and inspect live state: threads, stack, scopes, variables, evaluate. Returns host, port, and a session token the IDE must include as "mirrorToken" in its attach configuration. The mirror never drives execution — continue/step/pause and breakpoint changes are rejected; control stays with this MCP session. Requires an active session (launched or attached); works while running or paused. Calling it again returns the same endpoint. The endpoint closes on unexpose_session, close_debug_session, restart, or debuggee exit
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sessionId | Yes |