Environment data
- VS Code version: 1.56.2
- Extension version (available under the Extensions sidebar): v2021.5.842923320
- OS and version: Windows 10
- Python version (& distribution if applicable, e.g. Anaconda): 3.9.5
- Type of virtual environment used (N/A | venv | virtualenv | conda | ...): N/A
- Relevant/affected Python packages and their versions: N/A
- Relevant/affected Python-related VS Code extensions and their versions: N/A
- Value of the
python.languageServer setting: XXX
[NOTE: If you suspect that your issue is related to the Microsoft Python Language Server (python.languageServer: 'Microsoft'), please download our new language server Pylance from the VS Code marketplace to see if that fixes your issue]
Expected behaviour
Clicking on the run button runs the file
Actual behaviour
Nothing happens if another file is already running
Steps to reproduce:
[NOTE: Self-contained, minimal reproducing code samples are extremely helpful and will expedite addressing your issue]
- Run a python file which keeps running (like an API)
- Open another file (like one sending a request to the API)
- Try to run it
Logs
Output for Python in the Output panel (View→Output, change the drop-down the upper-right of the Output panel to Python)
Environment data
python.languageServersetting: XXX[NOTE: If you suspect that your issue is related to the Microsoft Python Language Server (
python.languageServer: 'Microsoft'), please download our new language server Pylance from the VS Code marketplace to see if that fixes your issue]Expected behaviour
Clicking on the run button runs the file
Actual behaviour
Nothing happens if another file is already running
Steps to reproduce:
[NOTE: Self-contained, minimal reproducing code samples are extremely helpful and will expedite addressing your issue]
Logs
Output for
Pythonin theOutputpanel (View→Output, change the drop-down the upper-right of theOutputpanel toPython)