vscode-code-runner icon indicating copy to clipboard operation
vscode-code-runner copied to clipboard

[Bug] Code Runner play button stuck in run and debug mode

Open DenisMistrikUSC opened this issue 1 year ago • 2 comments

  • VS Code Version: 1.96.3
  • OS Version: Windows 10
  • Code Runner Version: 0.12.2

Describe the bug

The play/run button in the editor actions tab is stuck on the run and debug option, no matter if i manually click the dropdown and just "run code" it will never reset back to just run code, it is constantly stuck on the debugging.

To Reproduce

  1. Click on run and debug on the left tab
  2. Run and debug
  3. Workspace now reset the play button to run and debug permanently

Actual behavior Play/run button constantly stuck on "run and debug", it is never going back to just run Expected behavior

Code runner should automatically revert the run button to your last command, so running Ctrl + Alt + N should now revert the run button back to just run code.

Screenshots

Image Stuck in this mode ^

Image Will never go back to this no matter what I try ^

DenisMistrikUSC avatar Jan 21 '25 14:01 DenisMistrikUSC

wasn't able to reproduce in vscode 1.105.1

do you still have this issue? was it possibly a vscode bug?

ericchase avatar Oct 17 '25 11:10 ericchase

Just ran into this bug in vscode 1.105.1 on windows 11. I was able to get around it for now by:

  1. Pressing alt+F4 to quit the program

  2. Selecting the "Run Python File" in Dedicated Terminal option, whereupon the program runs once Image

  3. Selecting the regular "Run Python File" option which fixes the selection dropdown

Image

NielsKeller avatar Oct 28 '25 23:10 NielsKeller