Just ran into this bug in vscode 1.105.1 on windows 11. I was able to get around it temporarily by:
- Pressing alt+F4 to quit the program
- Selecting the "Run Python File" in Dedicated Terminal option, whereupon the program runs once
- Selecting the regular "Run Python File" option which fixes the selection dropdown