Cursor's debug mode tested every theory and solved a nasty race condition
Frontend race conditions hide from you. Cursor's debug mode came up with several theories, built a harness to test each one, cleaned up after itself and handed back a fix.
Done withCursorSpotted· by HN user lubujackson· Oct 15, 2026
Result Cleaned up its own debugging code
“I also noticed their debug mode will now come up with several thesises (thesi?), create some sort of debugging harness and logging system, test each thesis, tear down the debugging logic and present a solution.”
Spotted: found in the wild. Details are as reported by the source above and have not been independently verified.
What they did
Used Cursor’s debug mode on a tricky frontend race condition. It came up with several hypotheses, built a debugging harness and logging, tested each hypothesis, then removed the debugging code and presented a solution.
How it went
It helped solve the race condition. The developer also rates Cursor’s plan mode about on par with Claude Code.
Try it yourself with Cursor
There is an intermittent bug in [component]: [describe the symptom]. Don't guess a fix. List at least three hypotheses for the cause, add temporary logging to test each one, run the reproduction, and tell me which hypothesis the evidence supports. Then remove all the temporary logging and propose the smallest fix.
A starting prompt written by Agents in the Wild. Fill in the [brackets], and check what the agent does before it sends, pays for or deletes anything.
A data scientist tried Cursor on a real project. Prototyping, code completion and commenting went well, but pandas code kept failing and it deleted a bunch of data files.
A 42k-line site with packages to upgrade: 19 easy, 42 medium and 14 hard, by Cursor's own sort. Cursor cleared the easy and medium ones, then a background agent moved it from Remix v2 to React Router v7.
A MongoDB-like database for a hobby project, written spec-first by Claude, Kiro, Qwen Coder and Cursor. They read zero lines of the code and checked it through tests. The first version took about two weeks, part time.
In SpaceXAI's own guide, engineer Lingxi Li's bots start Cursor cloud agents, check every PR every 30 minutes and merge the low-risk ones. A teammate shipped 2,000+ PRs in a month, they report.
A messy, roughly 900-line Blender script, abandoned. Cursor turned it into a proper repo for all their 3D designs, then built shapes they described in plain language. "These aren't 1-prompt creations", they add.
A huge, convoluted codebase they'd taken over. One prompt in Cursor's Plan mode found the bugs and planned the fix, then the agent made it, where the client's previous team hadn't.