# Debug Mode NDJSON Ingest

**URL:** <https://forum.cursor.com/t/debug-mode-ndjson-ingest/154178>\
**Category:** Bug Reports\
**Tags:** debug-mode\
**Created:** [March 9, 2026, 4:00pm UTC](https://forum.cursor.com/t/debug-mode-ndjson-ingest/154178 "2026-03-09T16:00:56Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![pagne](https://avatars.discourse-cdn.com/v4/letter/p/c37758/32.png) [@pagne](https://forum.cursor.com/u/pagne)\
**Post date:** [March 9, 2026, 4:00pm UTC](https://forum.cursor.com/t/debug-mode-ndjson-ingest/154178/1 "2026-03-09T16:00:56Z")

</div>

### Where does the bug appear (feature/product)?

Cursor IDE

### Describe the Bug

In debug mode I keep having this issue

NDJSON Ingest: Cannot start server - port 7768 became unavailable. Please try again.

Port is already in use

Please check the NDJSON port setting and ensure:

The port is not already in use by another service

You have permission to use the port (try a port above 1024)

Operating System  
MacOS Tahoe 26.1

I checked, the port is not being used and I tried to restart the system twice, it doesn’t help.

### Steps to Reproduce

Debug mode and try to launch a request, follow up message in this case. I closed my laptop and when I came back to continue the fix it displayed this message.

### Expected Behavior

Debug mode running as expected

### Operating System

MacOS

### Version Information

Version: 2.6.14  
VSCode Version: 1.105.1

### For AI issues: which model did you use?

GPT-5.3 Codex High

### Does this stop you from using Cursor

Sometimes - I can sometimes use Cursor

---

<div class="post-metadata">

**Author:** ![deanrie](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/deanrie/32/1263_2.png) [@deanrie](https://forum.cursor.com/u/deanrie)\
**Post date:** [March 9, 2026, 4:42pm UTC](https://forum.cursor.com/t/debug-mode-ndjson-ingest/154178/4 "2026-03-09T16:42:26Z")

</div>

Hey, thanks for the report. This is a known issue in debug mode. The NDJSON ingest server sometimes doesn’t release the port properly, especially after sleep and wake cycles on macOS.

As a workaround, run this in Terminal before using debug mode again:

```bash
lsof -ti :7768 | xargs kill -9

```

This kills any stale process still holding the port. If nothing shows up, meaning the port looks free, try restarting Cursor fully. Use CMD+Q to quit, not just close the window.

If it still happens, try changing the NDJSON port in settings. Search for “NDJSON” in Cursor Settings and set it to a different value like 7769.

The team is aware of the issue. Your report helps us prioritize it. Let me know if the workaround helps.

---

<div class="post-metadata">

**Author:** ![pagne](https://avatars.discourse-cdn.com/v4/letter/p/c37758/32.png) [@pagne](https://forum.cursor.com/u/pagne)\
**Post date:** [March 9, 2026, 5:30pm UTC](https://forum.cursor.com/t/debug-mode-ndjson-ingest/154178/5 "2026-03-09T17:30:25Z")

</div>

Hello, the workaround worked, thank you for your help on this  
Best

---

<div class="post-metadata">

**Author:** ![system](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/system/32/99069_2.png) [@system](https://forum.cursor.com/u/system)\
**Post date:** [April 21, 2026, 3:34pm UTC](https://forum.cursor.com/t/debug-mode-ndjson-ingest/154178/8 "2026-04-21T15:34:29Z")

</div>

This topic was automatically closed 22 days after the last reply. New replies are no longer allowed.
