News for hackers. Stuff that matters.
Re:Show HN: We made an MCP server so Cursor can debug Node.j... by arthurgousset on Saturday March 22, 2025 @11:57AM (#43446660)
Cursor often gets into "dead loops" trying to fix code [1][2]. But, Cursor also seems to get out of dead loops when it adds `console.log` statements everywhere.

We thought: "What if Cursor could access Node.js at runtime?". That would save it from adding `console.log` everywhere, and still get out of dead loops.

We looked into it and got Cursor to debug Node.js on its own.

It's a prototype, but if you're interested in trying it out, we'd love some feedback!

Github: github.com/hyperdrive-eng/mcp-nodejs-debugger

---

References:

[1]: "At this point I feel like giving up on Cursor and just accept that WE'RE NOT THERE YET." ~Source: https://forum.cursor.com/t/cursor-for-complex-projects/38911

[2]: "We've all had the issue. You're trying to build a complex project with your AI companion. It runs into a dead loop, coding in circles, making suggestions it already tried that didn't work." ~Source: https://www.reddit.com/r/ChatGPTCoding/comments/1gz8fxb/solu...

Re:Show HN: We made an MCP server so Cursor can debug Node.j... by kilroy123 on Saturday March 22, 2025 @08:56PM (#43450026)
That's what console ninja's new thing is supposed to do. I haven't used it yet as you have to pay.
Re:Show HN: We made an MCP server so Cursor can debug Node.j... by arthurgousset on Sunday March 23, 2025 @08:25AM (#43452447)
Not affiliated with Cursor, but I think there is a free plan to try Cursor out. It's still a bit janky in my opinion, but it's an interesting new dev experience.
Re:Show HN: We made an MCP server so Cursor can debug Node.j... by dsabanin on Sunday March 23, 2025 @01:18PM (#43454290)
I haven't seen console ninja yet, thanks for mentioning it. It’s amazing!
Re:Show HN: We made an MCP server so Cursor can debug Node.j... by arthurgousset on Tuesday March 25, 2025 @04:35PM (#43475664)
Oh good point, I didn't realise Console Ninja [1] is a product. Thanks for sharing!

[1]: https://console-ninja.com

Re:Show HN: We made an MCP server so Cursor can debug Node.j... by bulatb on Saturday March 22, 2025 @11:57PM (#43450805)
> Cursor often gets into "dead loops" trying to fix code [1][2]. But, Cursor also seems to get out of dead loops when it adds `console.log` statements everywhere.

Hah. That sounds like just... debugging.

Re:Show HN: We made an MCP server so Cursor can debug Node.j... by arthurgousset on Sunday March 23, 2025 @08:23AM (#43452443)
Yes! Cursor really wants to debug. Personally, I don't love when Cursor adds 100s of `console.log` diffs to my project. I like debuggers for that.
Re:Show HN: We made an MCP server so Cursor can debug Node.j... by laacz on Monday March 24, 2025 @01:35PM (#43463448)
Cursor does not want anything. Eseesntially it adds tons of console.log because it's the thing training material says it should do next.