Hey there!
So far I had a great experience with Cursor, but since few days ago (I think there was an update), Cursor’s debugger has stopped working for my node program.
I opened the same repo with the same launch configurations in VSCode and the debugger works perfectly fine.
To reproduce, just try to run any node launch configuration
My launch configuration:
{
"name": "API",
"request": "launch",
"runtimeArgs": ["api", "dev"],
"runtimeExecutable": "pnpm",
"skipFiles": ["<node_internals>/**"],
"env": {
"NODE_ENV": "development"
},
"type": "node"
}
The run command:
tsx watch --env-file=.env src/index.ts
A demonstration video:
PNPM version: 10.8.1
Node version: 23.10.0
OS: OSX 15.4 (Macbook Pro M3 Pro)
Version: 0.48.9
VSCode Version: 1.96.2
Commit: 61e99179e4080fecf9d8b92c6e2e3e00fbfb53f0
Date: 2025-04-12T18:33:49.349Z
Electron: 34.3.4
Chromium: 132.0.6834.210
Node.js: 20.18.3
V8: 13.2.152.41-electron.0
OS: Darwin arm64 24.4.0