debug_session
Subscribe to or unsubscribe from live session traces to inspect execution state and trace failures in real time.
Instructions
[Arch Debug] Arch connects to live sessions, traces failures, and inspects execution state. Subscribe to or unsubscribe from an existing session's trace events. Use action='subscribe' to start receiving traces (buffered + live), or action='unsubscribe' to stop. Use debug_list_active_sessions to find session IDs.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | Action to perform: 'subscribe' to start receiving traces, 'unsubscribe' to stop | |
| sessionId | Yes | The session ID to subscribe to or unsubscribe from (get from debug_list_active_sessions) |