Type: Bug
Behaviour
BlockingScheduler scripts exit silently with no output when run via F5
Steps to reproduce:
- Install Python extension version 2026.4.0
- Open a Python script using APScheduler BlockingScheduler with sched.start() inside if name == 'main'
- Press F5 to run
- Script exits instantly with no output and no error
Extension version: 2026.4.0
VS Code version: Code 1.118.1 (034f571df509819cc10b0c8129f66ef77a542f0e, 2026-04-29T17:36:44+03:00)
OS version: Windows_NT x64 10.0.20348
Modes:
- Python version (& distribution if applicable, e.g. Anaconda): 3.13.3
- Type of virtual environment used (e.g. conda, venv, virtualenv, etc.): System
- Value of the
python.languageServer setting: Default
User Settings
languageServer: "Pylance"
terminal
• executeInFileDir: "<placeholder>"
Installed Extensions
| Extension Name |
Extension Id |
Version |
| debugpy |
ms- |
2026.4.0 |
| js-debug |
ms- |
1.117.0 |
| js-debug-companion |
ms- |
1.1.3 |
| jsts-chat-features |
Typ |
0.0.2 |
| python |
ms- |
2026.4.0 |
| rainbow-csv |
mec |
3.24.1 |
| vscode-js-profile-table |
ms- |
1.0.10 |
| vscode-pylance |
ms- |
2026.2.1 |
| vscode-python-envs |
ms- |
1.28.0 |
Type: Bug
Behaviour
BlockingScheduler scripts exit silently with no output when run via F5
Steps to reproduce:
Extension version: 2026.4.0
VS Code version: Code 1.118.1 (034f571df509819cc10b0c8129f66ef77a542f0e, 2026-04-29T17:36:44+03:00)
OS version: Windows_NT x64 10.0.20348
Modes:
python.languageServersetting: DefaultUser Settings
Installed Extensions