Skip to main content
Glama

connect_debugger

Establish a debugging session by connecting to Chrome DevTools Protocol endpoints for Node.js, Chrome, or Edge to enable breakpoints, code stepping, and variable inspection.

Instructions

Establishes a new debugging session by connecting to a Chrome DevTools Protocol (CDP) endpoint. Use this to connect to Node.js (started with --inspect), Chrome, Edge, or other CDP-compatible runtimes. Returns a session_id that must be used in all subsequent debugging operations.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
websocket_urlYesWebSocket URL for the CDP endpoint. For Node.js, this is typically ws://localhost:9229/{uuid}. For Chrome, use ws://localhost:9222/devtools/page/{pageId}. You can find available targets by visiting http://localhost:9229/json (Node.js) or http://localhost:9222/json (Chrome).
session_nameNoOptional human-readable name for this debugging session. Useful when managing multiple concurrent sessions.

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