025-02-21 11:40:45.825 [info] Experiment 'pythonRecommendTensorboardExt' is active
2025-02-21 11:40:45.825 [info] Experiment 'pythonTerminalEnvVarActivation' is active
2025-02-21 11:40:45.825 [info] Experiment 'pythonTestAdapter' is active
2025-02-21 11:40:45.825 [info] Native locator: Refresh started
2025-02-21 11:40:45.825 [info] Native locator: Refresh started
2025-02-21 11:40:45.925 [info] Native locator: Refresh finished in 133 ms
2025-02-21 11:40:45.934 [info] > pyenv which python
2025-02-21 11:40:45.934 [info] cwd: .
2025-02-21 11:40:47.153 [info] Starting Pylance language server.
2025-02-21 11:40:56.657 [info] Discover tests for workspace name: bug_report - uri: c:\bug_report
2025-02-21 11:40:56.661 [warning] The cwd resolves to a different path, checking if it has a symbolic link somewhere in its path.
2025-02-21 11:40:56.661 [info] All environment variables set for pytest discovery: {"ALLUSERSPROFILE":<redact>}
2025-02-21 11:40:57.093 [info] ============================= test session starts =============================
platform win32 -- Python 3.11.6, pytest-8.3.4, pluggy-1.5.0
rootdir: c:\bug_report
plugins: anyio-4.8.0, docker-3.1.1
collected 0 items
========================= no tests collected in 0.01s =========================
2025-02-21 11:40:57.135 [error] Subprocess exited unsuccessfully with exit code 5 and signal null on workspace c:\bug_report
2025-02-21 11:40:57.135 [error] pytest test discovery error for workspace: c:\bug_report
The python test process was terminated before it could exit on its own, the process errored with: Code: 5, Signal: null for workspace c:\bug_report
Type: Bug
Behaviour
python.terminal.launchArgs specified in the settings (workspace or user) are not being added when running a Python script. Reverting back to v2024.22.2 results in the arguments being added as expected.
Example Arguments:
Steps to reproduce:
Diagnostic data
Output for
Pythonin theOutputpanel (View→Output, change the drop-down the upper-right of theOutputpanel toPython)Extension version: 2025.0.0
VS Code version: Code 1.97.2 (e54c774e0add60467559eb0d1e229c6452cf8447, 2025-02-12T23:20:35.343Z)
OS version: Windows_NT x64 10.0.22631
Modes:
python.languageServersetting: PylanceUser Settings
Installed Extensions
System Info
canvas_oop_rasterization: enabled_on
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_graphite: disabled_off
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled
webnn: disabled_off
A/B Experiments