set_pause_on_exceptions
Control when the debugger pauses on exceptions to catch errors during JavaScript/TypeScript debugging. Choose to pause on uncaught exceptions, all exceptions, or never pause.
Instructions
Configures whether the debugger should pause when exceptions are thrown. Useful for catching errors as they occur.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | Yes | ID of the debugging session. | |
| state | Yes | When to pause: "none" (never pause on exceptions), "uncaught" (pause only on uncaught exceptions), "all" (pause on all exceptions, including caught ones). |