展示 HN:Node.js 调试器 MCP。使用 Claude Code 运行和调试长期运行的应用程序。

2作者: chw9e8 个月前原帖
我一直在尝试寻找方法,使Claude Code在实际开发工作流程中更有用,特别是在处理像开发服务器这样的长时间运行的进程时。 这是一个开源的MCP服务器,帮助AI编码代理管理和调试实时的Node.js进程。它支持: - 启动和停止Node.js脚本而不阻塞终端 - 附加到Chrome开发者工具协议以进行实时调试 - 设置断点、逐步执行代码和评估表达式 - 管理多个进程和跨时间的调试会话 您可以使用它可靠地启动像`npm run dev`这样的脚本,在第一行暂停,附加调试器,并逐步浏览代码,所有这些都可以在终端中的Claude Code内完成。 GitHub: [https://github.com/qckfx/node-debugger-mcp](https://github.com/qckfx/node-debugger-mcp) 非常欢迎任何反馈或想法。如果您正在使用Claude Code进行开发或正在构建自己的AI编码工具,我很乐意帮助您入门。
查看原文
I&#x27;ve been experimenting with ways to make Claude Code more useful for real development workflows, especially when dealing with long-running processes like dev servers.<p>This is an open-source MCP server that helps AI coding agents manage and debug live Node.js processes. It supports:<p>- Starting and stopping Node.js scripts without blocking the terminal<p>- Attaching to the Chrome DevTools Protocol for real debugging<p>- Setting breakpoints, stepping through code, and evaluating expressions<p>- Managing multiple processes and debug sessions across time<p>You can use it to reliably launch scripts like npm run dev, pause at the first line, attach a debugger, and walk through your code step by step, all from within Claude Code in the terminal.<p>GitHub: <a href="https:&#x2F;&#x2F;github.com&#x2F;qckfx&#x2F;node-debugger-mcp">https:&#x2F;&#x2F;github.com&#x2F;qckfx&#x2F;node-debugger-mcp</a><p>Would appreciate any feedback or ideas. If you&#x27;re building with Claude Code or working on your own AI coding tools, happy to help you get started.