Cursor IDE Debug Mode Not Working — “Debug Stopped” Popup Issue

Where does the bug appear (feature/product)?

Somewhere else…

Describe the Bug

When I try to run my project in debug mode using Cursor IDE, the debugger immediately stops, and I see a popup saying:

Debug Stopped

No traceback or detailed error appears in the terminal or Debug Console.
The same project runs fine when I execute it manually using the command line

Steps to Reproduce

Please use this configuration to reproduce the issue.

Folder Structure:
├── .vscode/
│ ├── launch.json
│ ├── tasks.json
│ └── settings.json

├── backend/
│ ├── alembic/
│ │ ├── versions/
│ │ └── env.py
│ │
│ ├── app/
│ │ ├── api/
│ │ │ ├── auth.py
│ │ │
│ │ ├── tasks/
│ │ │ └── scheduler.py
│ │ │
│ │ ├── config.py
│ │ └── main.py
│ │
│ ├── .env
│ ├── alembic.ini
│ ├── requirements.txt
│ └── run.py

launch.json :

{
“name”: “Backend with Scheduler”,
“type”: “debugpy”,
“request”: “launch”,
“module”: “uvicorn”,
“args”: [
“app.main:app”,
“–host”,
“0.0.0.0”,
“–port”,
“8003”,
“–reload”
],
“console”: “integratedTerminal”,
“cwd”: “${workspaceFolder}/backend”,
“python”: “${workspaceFolder}/venv/bin/python”,
“env”: {
“PYTHONPATH”: “${workspaceFolder}/backend”,
“ENABLE_SCHEDULER”: “true”
},
“justMyCode”: false
}

Expected Behavior

Service should start in debug mode.

Screenshots / Screen Recordings

Operating System

Windows 10/11

Current Cursor Version (Menu → About Cursor → Copy)

Version: 1.7.54 (user setup)
VSCode Version: 1.99.3
Commit: 5c17eb2968a37f66bc6662f48d6356a100b67be0
Date: 2025-10-21T19:07:38.476Z
Electron: 34.5.8
Chromium: 132.0.6834.210
Node.js: 20.19.1
V8: 13.2.152.41-electron.0
OS: Windows_NT x64 10.0.26100

Does this stop you from using Cursor

Yes - Cursor is unusable

Hey, thanks for the report. This looks like a known issue with the Python Debugger extension.

Solution: downgrade the Python Debugger extension to v2025.10.0

Steps:

  • Open the Extensions panel Ctrl+Shift+X
  • Search for “Python Debugger” ms-python.debugpy
  • Click the gear icon → “Install Another Version…”
  • Select v2025.10.0
  • Reload Cursor

This solved the same issue here: Cursor IDE can't launch debugpy debugging configurations

Let me know if this helps.