Cursor fails to launch silently without showing any GUI error message or crash dialog

Where does the bug appear (feature/product)?

Cursor CLI

Describe the Bug

Cursor fails to launch completely without displaying any GUI window, crash dialog, or error popup. When attempting to run cursor via Command Prompt (cmd), the CLI wrapper immediately terminates with the error “–inspect-extensions is not supported in this build. Debugger switches work only in development builds.” even though no debug flags were passed.

Steps to Reproduce

No idea. it won’t launch after normally rebooting the machine.

Expected Behavior

Cursor should launch normally

Operating System

Windows 10/11

Version Information

latest 3.32

Additional Information

Troubleshooting already performed without success:
1 Full clean reinstall (uninstalled Cursor and deleted %APPDATA%\Cursor and %LOCALAPPDATA%\Programs\cursor).
2 Inspected user and system environment variables (including NODE_OPTIONS); no --inspect or --inspect-extensions flags exist.
3 Inspected cursor.cmd to confirm the flag is not hardcoded in the script.

Does this stop you from using Cursor

Yes - Cursor is unusable

I had exactly the same problem today. Roll back to previous version (3.31), and it worked again. It seems to be a 3.32.4 issue.

Hey @JPC015 @jyao75, starting in 3.32, packaged Cursor builds block debugger switches like --inspect-extensions at startup and exit immediately (which is why rolling back to 3.31 works, since earlier builds accepted them). When launched from a Windows shortcut, that check only writes to stderr and exits with no window or dialog.

Since NODE_OPTIONS and argv.json can’t trigger this check, something on the machine is adding the flag to the launch command (a shortcut target, launcher wrapper, IFEO registry entry, or endpoint/monitoring tool). Could you run these three commands in Command Prompt and share the output? (@jyao75, let us know if running cursor from Command Prompt also printed --inspect-extensions on your machine.)

  1. where cursor
  2. "%LOCALAPPDATA%\Programs\cursor\Cursor.exe" (or "C:\Program Files\cursor\Cursor.exe" for a system-wide install - let us know if a window opens or if it prints the same error)
  3. reg query "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\Cursor.exe"

If step 2 opens Cursor normally, the flag is coming from your shortcut or cursor command. If it still prints the same error, something at the OS or endpoint-management level is injecting the switch into every Cursor.exe launch.

Thanks for the response.
I search through my machine, which has both cursor.exe and cursor.cmd, the cursor.cmd has following scripts:
@echo off
setlocal
set VSCODE_DEV=
set ELECTRON_RUN_AS_NODE=1
"%~dp0......\Cursor.exe" "%~dp0..\out\cli.js" %*
IF %ERRORLEVEL% NEQ 0 EXIT /b %ERRORLEVEL%
endlocal

I believe this is normal. I also run cursor with absolute path
& "$env:LOCALAPPDATA\Programs\cursor\Cursor.exe"

in PowerShell, which resulted in the same error.
Checked registry as well, I don’t have "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\Cursor.exe" Not sure where in the system get “–inspect-extensions” injected.

What is the reason for removal ? Is it only for GA builds ?

Hi, I and at least one other dev in my company also had the exact same error yesterday. We’ve disabled cursor updates for now until a resolution appears. I tried uninstall/reinstall several times, ran from command line and got the --inspect-extensions error.

I also have a colleague with almost the same laptop, same setup who does not have the problem with 3.32.4.

The only differences I know of between our setups, I have a veracode extension installed in cursor. Also, I had a windows update that rebooted my computer, after which the problem started. It may be that the reboot caused me to start using the updated version which revealed the problem, or perhaps the update is somehow involved.

Confirm exactly does not star / fails immediatly without trowing an error.
Windows 11 Enterprise 25H2 and 26H2

Had do go back to 3.31 and disable auto update.
by adding
“update.mode”: “none”
to “$env:APPDATA\Cursor\User\settings.json”
bevore starting the app

Hi, I ran into this exact same issue on Windows after updating to 3.32.4 (silent crash on launch, and running Cursor.exe directly in Command Prompt printed invalid option -- -i followed by --inspect-extensions is not supported in this build).

Here is what I found on my machine that might help pinpoint the cause:

  • Endpoint Security Tool: My corporate PC runs Palo Alto Cortex XDR. Since VS Code and Chrome launch normally, Cortex XDR could perhaps be hooking into Cursor.exe at startup and injecting -i / --inspect-extensions.
  • Troubleshooting Tested: Clearing %APPDATA% / %LOCALAPPDATA% caches, checking NODE_OPTIONS / argv.json, verifying there is no IFEO registry entry, and switching from the User Installer to the System Installer (C:\Program Files\Cursor) all resulted in the exact same error.
  • Workaround: Rolling back to 3.31.15 and setting "update.mode": "none" in settings.json resolved the issue immediately.

Hopefully this helps track down the issue.

Can confirm that rolling back to 3.31 is the only fix for now. To stop it from auto-updating right away, I turned off my internet connection upon launch and added "update.mode": "none" to %APPDATA%\Cursor\User\settings.json as mentioned earlier.

Thanks all!


Hey all, this gives us a much clearer picture. Since direct Cursor.exe launches fail the same way on both the User and System installers with no IFEO entry or NODE_OPTIONS, we’ve escalated this to the engineering team with the Cortex XDR and invalid option -- -i details.

@not_relevant_982354 - debugger flags were blocked starting in 3.32 across all packaged release builds (not just GA) as a security hardening change to prevent local processes from attaching a debugger to the signed app.

For anyone currently blocked, staying on 3.31.x with "update.mode": "none" in %APPDATA%\Cursor\User\settings.json is the right workaround for now, since current 3.32.x builds still carry the same startup check. If anyone can capture the exact command line passed to Cursor.exe (for example with Process Monitor) or confirm whether you’re also running Cortex XDR or another EDR tool, dropping that here will help narrow down what’s injecting the flag.

We’re seeing the same startup restriction when testing a PostgreSQL extension against the stable Cursor desktop app. Our UI tests use Playwright 1.60.0’s electron.launch(), which automatically passes --inspect=0 and --remote-debugging-port=0. The same tests launched successfully on Cursor 3.31.15. On 3.32.10, we reproduced the launch failure on macOS ARM64 and Linux x64 CI. On macOS, Cursor prints: --remote-debugging-port is not supported in this build. Debugger switches work only in development builds. It exits before the first UI assertion runs.

We can test extension activation and SQL execution through the extension host, but that doesn’t verify what users see in the editor, such as the query result grid. Is there a supported way for extension authors to automate the rendered UI of the current stable Cursor desktop app in CI, without pinning an older release? If Playwright’s Electron driver is no longer supported for packaged builds, what approach does Cursor recommend?