Skip to content

[2026.4.0 Regression] BlockingScheduler scripts exit silently with no output when run via F5 #25944

@TwanisMae-EViG

Description

@TwanisMae-EViG

Type: Bug

Behaviour

BlockingScheduler scripts exit silently with no output when run via F5

Steps to reproduce:

  1. Install Python extension version 2026.4.0
  2. Open a Python script using APScheduler BlockingScheduler with sched.start() inside if name == 'main'
  3. Press F5 to run
  4. 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

Metadata

Metadata

Assignees

Labels

triage-neededNeeds assignment to the proper sub-team

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions