Type: Bug
Behaviour
Some settings set by python.terminal.XXX seem ignored. This includes:
"python.terminal.executeInFileDir": true,
"python.terminal.launchArgs": [
"-i"
]
On a side note, this also does not launch the deb ugger in the file current directory anymore:
"launch": {
"version": "0.2.0",
"configurations": [
{
"name": "Python: Current File",
"type": "debugpy",
"request": "launch",
"program": "${file}",
"console": "integratedTerminal",
"justMyCode": true,
"cwd": "${fileDirname}"
}
]
Steps to reproduce:
Set the upper mentionned settings at the user level, and run python by clikcing on the "Run Python file" button at the top right.
Diagnostic data
2025-07-28 10:56:42.316 [info] > conda info --json
2025-07-28 10:56:42.316 [info] > pyenv which python
2025-07-28 10:56:42.316 [info] cwd: .
2025-07-28 10:56:43.063 [info] > ~/.conda/bin/conda info --json
2025-07-28 10:56:43.164 [info] > ~/anaconda3/bin/conda info --json
2025-07-28 10:56:45.111 [info] Active interpreter [/home/user/Documents/Work/Research/Projects/]: /home/user/.virtual_envs/general_env/bin/python
2025-07-28 10:56:47.755 [info] Starting Pylance language server.
Output for Python in the Output panel (View→Output, change the drop-down the upper-right of the Output panel to Python)
Extension version: 2025.10.1
VS Code version: Code 1.102.2 (c306e94f98122556ca081f527b466015e1bc37b0, 2025-07-22T12:15:48.520Z)
OS version: Linux x64 6.8.0-52-generic
Modes:
- Python version (& distribution if applicable, e.g. Anaconda): 3.12.3.final.0
- Type of virtual environment used (e.g. conda, venv, virtualenv, etc.): System
- Value of the
python.languageServer setting: Default
User Settings
venvPath: "<placeholder>"
languageServer: "Pylance"
terminal
• executeInFileDir: "<placeholder>"
• launchArgs: "<placeholder>"
Installed Extensions
| Extension Name |
Extension Id |
Version |
| autodocstring |
njp |
0.6.1 |
| autopep8 |
ms- |
2025.2.0 |
| cmake |
twx |
0.0.17 |
| cmake-tools |
ms- |
1.21.36 |
| cpptools |
ms- |
1.26.3 |
| cpptools-extension-pack |
ms- |
1.3.1 |
| cpptools-themes |
ms- |
2.0.0 |
| debugpy |
ms- |
2025.10.0 |
| js-debug |
ms- |
1.102.0 |
| js-debug-companion |
ms- |
1.1.3 |
| jupyter |
ms- |
2025.6.0 |
| jupyter-keymap |
ms- |
1.1.2 |
| jupyter-renderers |
ms- |
1.3.0 |
| lammps |
ThF |
1.8.15 |
| language-julia |
jul |
1.149.2 |
| latex-workshop |
Jam |
10.10.0 |
| lua |
sum |
3.15.0 |
| markdown-all-in-one |
yzh |
3.6.3 |
| markdown-preview-enhanced |
shd |
0.8.18 |
| pdf |
tom |
1.2.2 |
| python |
ms- |
2025.10.1 |
| quarto |
qua |
1.123.0 |
| rainbow-csv |
mec |
3.20.0 |
| remote-explorer |
ms- |
0.5.0 |
| remote-ssh |
ms- |
0.120.0 |
| remote-ssh-edit |
ms- |
0.87.0 |
| ruff |
cha |
2025.24.0 |
| svg-preview |
Sim |
2.8.3 |
| vscode-edit-csv |
jan |
0.11.5 |
| vscode-js-profile-table |
ms- |
1.0.10 |
| vscode-jupyter-cell-tags |
ms- |
0.1.9 |
| vscode-jupyter-slideshow |
ms- |
0.1.6 |
| vscode-ltex |
val |
13.1.0 |
| vscode-pylance |
ms- |
2025.7.1 |
| vscode-python-envs |
ms- |
1.2.0 |
System Info
| Item |
Value |
| CPUs |
13th Gen Intel(R) Core(TM) i7-13700H (20 x 900) |
| GPU Status |
2d_canvas: enabled 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: disabled_software vulkan: disabled_off webgl: enabled webgl2: enabled webgpu: disabled_off webnn: disabled_off |
| Load (avg) |
2, 2, 2 |
| Memory (System) |
30.99GB (24.34GB free) |
| Process Argv |
--crash-reporter-id 3ae0a31a-6dd9-4b4f-8b3b-4d2b8ce32b7e |
| Screen Reader |
no |
| VM |
0% |
| DESKTOP_SESSION |
ubuntu |
| XDG_CURRENT_DESKTOP |
Unity |
| XDG_SESSION_DESKTOP |
ubuntu |
| XDG_SESSION_TYPE |
x11 |
A/B Experiments
vsliv368:30146709
binariesv615:30325510
h48ei257:31000450
nativeloc1:31344060
dwcopilot:31170013
6074i472:31201624
dwoutputs:31242946
hdaa2157:31222309
copilot_t_ci:31333650
e5gg6876:31282496
pythoneinst12:31285622
c7cif404:31314491
pythonpulldiag:31343502
996jf627:31283433
pythonrdcb7:31342333
usemplatestapi:31297334
0aa6g176:31307128
747dc170:31275177
aj953862:31281341
generatesymbolt:31295002
convertfstringf:31295003
pylancequickfixt:31350061
9d2cg352:31346308
convertlamdat:31350063
usemarketplace:31343026
nesew2to5:31336538
agentclaude:31350858
nes-diff-11:31337487
replacestringexc:31350595
nes-set-on:31351930
6abeh943:31336334
envsactivate1:31353494
yijiwantestdri0626-t:31336930
0927b901:31350571
ji9b5146:31348712
8gib2676:31354156
0cj2b977:31352657
Type: Bug
Behaviour
Some settings set by python.terminal.XXX seem ignored. This includes:
"python.terminal.executeInFileDir": true,
"python.terminal.launchArgs": [
"-i"
]
On a side note, this also does not launch the deb ugger in the file current directory anymore:
"launch": {
"version": "0.2.0",
"configurations": [
{
"name": "Python: Current File",
"type": "debugpy",
"request": "launch",
"program": "${file}",
"console": "integratedTerminal",
"justMyCode": true,
"cwd": "${fileDirname}"
}
]
Steps to reproduce:
Set the upper mentionned settings at the user level, and run python by clikcing on the "Run Python file" button at the top right.
Diagnostic data
2025-07-28 10:56:42.316 [info] > conda info --json
2025-07-28 10:56:42.316 [info] > pyenv which python
2025-07-28 10:56:42.316 [info] cwd: .
2025-07-28 10:56:43.063 [info] > ~/.conda/bin/conda info --json
2025-07-28 10:56:43.164 [info] > ~/anaconda3/bin/conda info --json
2025-07-28 10:56:45.111 [info] Active interpreter [/home/user/Documents/Work/Research/Projects/]: /home/user/.virtual_envs/general_env/bin/python
2025-07-28 10:56:47.755 [info] Starting Pylance language server.
Output for
Pythonin theOutputpanel (View→Output, change the drop-down the upper-right of theOutputpanel toPython)Extension version: 2025.10.1
VS Code version: Code 1.102.2 (c306e94f98122556ca081f527b466015e1bc37b0, 2025-07-22T12:15:48.520Z)
OS version: Linux x64 6.8.0-52-generic
Modes:
python.languageServersetting: DefaultUser 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: disabled_software
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: disabled_off
webnn: disabled_off
A/B Experiments