Debug agent fail

Where does the bug appear (feature/product)?

BugBot

Describe the Bug

Debug agent error: Request ID: 6d15673e-3248-4426-8e89-d8b49b435425
command ‘cursor.ndjsonIngest.start’ not found
Error: command ‘cursor.ndjsonIngest.start’ not found
at GMl._tryExecuteCommand (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:44162:3448)
at GMl.executeCommandImpl (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:44162:2950)
at async Q_o.getConfig (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:32055:7865)
at async Lpy.execute (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:44397:13439)
at async zOl.buildComposerRequestContext (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:44408:3793)
at async zOl.streamFromAgentBackend (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:44408:5384)
at async zOl.getAgentStreamResponse (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:44408:9837)
at async yLe.submitChatMaybeAbortCurrent (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:32182:15752)
at async Gs (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:43415:4781)

Steps to Reproduce

switching to debug agent

Expected Behavior

run as expected

Operating System

MacOS

Version Information

Version: 2.5.26
VSCode Version: 1.105.1
Commit: 7d96c2a03bb088ad367615e9da1a3fe20fbbc6a0
Date: 2026-02-26T04:57:56.825Z
Build Type: Stable
Release Track: Default
Electron: 39.4.0
Chromium: 142.0.7444.265
Node.js: 22.22.0
V8: 14.2.231.22-electron.0
OS: Darwin arm64 24.6.0

For AI issues: which model did you use?

Auto

For AI issues: add Request ID with privacy disabled

Request ID: 6d15673e-3248-4426-8e89-d8b49b435425
command ‘cursor.ndjsonIngest.start’ not found
Error: command ‘cursor.ndjsonIngest.start’ not found
at GMl._tryExecuteCommand (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:44162:3448)
at GMl.executeCommandImpl (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:44162:2950)
at async Q_o.getConfig (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:32055:7865)
at async Lpy.execute (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:44397:13439)
at async zOl.buildComposerRequestContext (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:44408:3793)
at async zOl.streamFromAgentBackend (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:44408:5384)
at async zOl.getAgentStreamResponse (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:44408:9837)
at async yLe.submitChatMaybeAbortCurrent (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:32182:15752)
at async Gs (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:43415:4781)

Does this stop you from using Cursor

No - Cursor works, but with this issue

Hey, this is a known issue related to debug mode and the NDJSON ingest command.

First, you’re on version 2.5.26, which is pretty old at this point. Please update to the latest version (Help > Check for Updates, or re-download from Cursor · Download) and try debug mode again. There’s a good chance this is already fixed in newer builds.

If the issue still happens after updating, let me know. The team is aware of this, and your report helps us prioritize it.

I am on Version 2.6.13 and have the same problem, I guess:

Request ID: 654086c8-7269-492e-a316-d113d9b7b60d
command ‘cursor.ndjsonIngest.start’ not found
Error: command ‘cursor.ndjsonIngest.start’ not found
at IFu._tryExecuteCommand (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:46600:3448)
at IFu.executeCommandImpl (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:46600:2950)
at async Vfa.getConfig (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:34183:7865)
at async nNw.execute (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:46855:3389)
at async F3u.buildComposerRequestContext (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:46865:3965)
at async F3u.streamFromAgentBackend (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:46865:5603)
at async F3u.getAgentStreamResponse (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:46865:13663)
at async bMe.submitChatMaybeAbortCurrent (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:34308:17597)
at async Ea (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:45790:4826)

Connection Error for Debug still on Version 2.6.18

@ralfzosel thanks for the update. So the update didn’t help, and the issue still reproduces on the latest versions.

We’re aware of the NDJSON ingest bug in debug mode, and the team is on it.

@dvir_turkenitch if you’ve updated too, please let me know whether the issue is still happening.

I’ll post here once there’s progress.

I just installed Cursor 3.0.6 but the issue persists.

Hey @ralfzosel, thanks for the update that the issue is still happening on 3.0.6.

The team is aware of this bug with debug mode and NDJSON ingest. There’s no specific ETA yet, but your reports help us prioritize. I’ll update the thread when there’s progress.

@dvir_turkenitch, are you seeing the same thing on the latest version?

I’ve updated to version 3.1.10, but debug mode still doesn’t work for me.

This is becoming quite frustrating, as I’m investing time (and tokens) into debugging without access to a feature that, from what I’ve seen on forums and Reddit, seems to work quite well for others — although I haven’t actually been able to try it myself yet. Right now, it feels like I’m paying for something I can’t actually use.

Is debug mode still working for other users on the latest versions, or are @dvir_turkenitch and I the only ones running into this? Also, is there anything I can try on my end to improve this, or any workaround available?

Hey @ralfzosel, I know this has been dragging on for a while, and it’s really frustrating to pay for a feature you can’t use.

Debug mode works for most users, so this doesn’t look like a general outage. Something specific in your environment is likely conflicting with the NDJSON ingest server. The team is tracking this exact case where the debug server does not start, but I can’t share an ETA.

To narrow it down, can you please check:

  • Parallel sessions: Is the same workspace open in another Cursor window, or in an old VS Code window? This is a common cause. The NDJSON port is already taken, so the command won’t register. Close all other windows and try again.
  • Reload window: After switching to debug mode, run Developer: Reload Window via Cmd+Shift+P, then immediately try sending a message.
  • Extensions: Run cursor --disable-extensions from Terminal, open the project, switch to debug mode. If it works, one of the extensions is causing it.
  • Port: Do you have anything else listening on local ports like Docker, another IDE, or a VPN? You can check with lsof -i -P | grep LISTEN while Cursor is running in debug mode.

If you can, please also share a full screenshot of the window at the moment the error happens. Sometimes there’s a second toast with details like port already in use or no workspace storage. Also send one fresh Request ID from version 3.1.10. That helps us tell your case apart from ones that are already fixed.

Thanks for your message, @deanrie .

  1. Parallel sessions: It also happens if there is just one Cursor window. I do not have installed VS Code (anymore) and even restarted my Mac.
  2. Reload window: Developer: Reload Window does not help.
  3. Extensions: cursor --disable-extensions same.
  4. Port: There were some services (like postgres and mysqld) which I stopped. Now this is left:

❯ lsof -i -P | grep LISTEN
rapportd 642 ralf 10u IPv4 0xe675a769a9388c85 0t0 TCP *:49158 (LISTEN)
rapportd 642 ralf 11u IPv6 0x9bf223b301a3066e 0t0 TCP *:49158 (LISTEN)
Cursor 9201 ralf 32u IPv4 0x31062ce1b63d1a9f 0t0 TCP localhost:50119 (LISTEN)
Cursor 9207 ralf 37u IPv4 0xbd047c4c0babe8d1 0t0 TCP localhost:50084 (LISTEN)

The error persists. The Screenshot is from Cursor Version: 3.1.15 - the Request ID is: b91a1521-4fe9-4bdd-a197-e11615943e46