Keyboard shortcut for running or debugging a test no longer works

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

I use cursor to write python code and in order to run my tests I use the keyboard shortcut

⌘; C

to debug I use

⌘; ⌘C

This is as described when I right-click in the editor (See Screenshots / Screen Recordings section).

In the last few days the keyboard shortcuts have stopped working. If I type “⌘; C” then the letter “c” gets typed into my editor. If I type “⌘; ⌘C” nothing happens.

Steps to Reproduce

  • create a new folder and open in cursor
  • install python extension ( Open VSX Registry )
  • in the terminal create a virtualenv and install pytest by running uv venv && uv pip install pytest
  • Press CTRL+⌘+P to open the command bar and choose “Python: Select Interpreter”. Choose .venv/bin/python
  • add the following to .vscode/settings.json
{
    "python.testing.pytestArgs": [
        "."
    ],
    "python.testing.unittestEnabled": false,
    "python.testing.pytestEnabled": true
}
  • create a file main.py and add code
def func():
    return "hello world"
  • create a file test_main.py and add code:
from main import func

def test_func():
    assert func() == "hello world"
  • Cursor should recognise this as a test and display a green “run” icon next to it. Click that icon to run the test.
  • Position your cursor somewhere in the test and type “⌘; C”. It will type the letter “c”

Expected Behavior

“⌘; C” is supposed to run the test.

Screenshots / Screen Recordings

Operating System

MacOS

Current Cursor Version (Menu → About Cursor → Copy)

Version: 2.0.40 (Universal)
VSCode Version: 1.99.3
Commit: a9b73428ca6aeb2d24623da2841a271543735560
Date: 2025-10-30T04:12:35.564Z
Electron: 34.5.8
Chromium: 132.0.6834.210
Node.js: 20.19.1
V8: 13.2.152.41-electron.0
OS: Darwin arm64 23.6.0

Does this stop you from using Cursor

Sometimes - I can sometimes use Cursor

1 Like

I have the same problem.

1 Like

hi @jamiekt @adam_stilla and thank you for the detailed bug report. Does the issue still persist in latest version?

Can you check in your Settings what is assigned to key CMD ; C that would interfere?

CMD ; C, is that CMD + C or CMD followed by C separately?

Hello @condor

Thank you for your reply. I’ve just checked and can confirm that the issue is fixed for me. These keyboard shortcuts are working again.

version:

Version: 2.0.69 (Universal)
VSCode Version: 1.99.3
Commit: 63fcac100bd5d5749f2a98aa47d65f6eca61db30
Date: 2025-11-07T18:21:29.650Z
Electron: 37.7.0
Chromium: 138.0.7204.251
Node.js: 22.20.0
V8: 13.8.258.32-electron.0
OS: Darwin arm64 23.6.0
1 Like

It works now.

1 Like