Wait for pause
debug_wait_for_pauseWait for the debugger to pause, start the isolate if needed, and return the current snapshot.
Instructions
If awaiting_start, start the isolate (set breakpoints first). If paused, return the current snapshot. If running, block until Debugger.paused or timeout. Only one waiter is allowed per session.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sessionId | No | Session id from debug_launch/debug_attach. Required when more than one session is live. | |
| timeoutMs | No | Timeout in milliseconds. Default 30000 |