What it is
A Chrome DevTools Protocol client. It attaches to any CDP-capable runtime over a WebSocket URL and exposes the normal debugger operations as tools, with source maps resolved so transpiled code maps back to what you wrote.
Requirements
A process to attach to, started with the inspector — node --inspect-brk=9229 pauses on the first line, which is what you want if the bug happens during startup, and node --inspect=9229 does not. The WebSocket URL comes from the runtime's own endpoint listing, and it is what the connect call takes. The server runs as npx mcp-js-debugger. Debugging is stateful: most tools need the session paused, and disconnecting drops every breakpoint set in that session. The debugger can change variables in the running program, so it acts on the process, not just observes it.
Setup effort
One command — npx mcp-js-debugger