Skip to main content
Glama

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
NameRequiredDescriptionDefault
session_idYesID of the debugging session.
stateYesWhen to pause: "none" (never pause on exceptions), "uncaught" (pause only on uncaught exceptions), "all" (pause on all exceptions, including caught ones).

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/johngrimes/mcp-js-debugger'

If you have feedback or need assistance with the MCP directory API, please join our Discord server