Let Claue Code control your NodeJS debugger
Problem
We experienced debugging death loop while vibe coding.
Debugging Death Loop:
- Copy the exception or error
- Paste it into Claude/Cursor
- Hope it will fix it.
It will fail, and you will try again hoping it will get it this time. Pretty soon, it will become 20 times and frustrating. No more vibes!
Current Options
When researched online, the current options are:
- Understand code better: I think this is preaching old ways to new class of programmers - vibe coders.
- Add log lines: To be effective, you should understand code better.
We thought about how an experienced programmer approach programming - by using a debugger and stepping through code. What if we allow Claude Code to set breakpoints, step through code and inspect variables?
Solution
We built an MCP server for exactly that. You can try yourself:
- Run your NodeJS server with
--inspect
flag that accepts remote debugger - Add our MCP using the following command
claude mcp add nodejs-debugger npx @hyperdrive-eng/mcp-nodejs-debugger
- Sit back and enjoy the magic with Claude debugging yoru code!
Important Links