Type: Bug
I use multiple environments located at C:\Users\apshankar\Documents\Python_Virtual_envs
If in my launch.json, I put 'justMyCode' = false, then I get an error in the Call Stack pane which says:
[WinError2] The system cannot find the file specified: 'C:\Users\apshankar\AppData\Roaming\Python\Python311\site-packages'
I tried adding the interpreterPath to the launch json but to no avail.
Here is my launch.json
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "Python: Debug Script",
"type": "debugpy",
"request": "launch",
"program": "${file}",
"console": "integratedTerminal",
"justMyCode": false,
"python": "${command:python.interpreterPath}"
//"debugStdLib": false
}
]
}
VS Code version: Code 1.103.0 (e3550cfac4b63ca4eafca7b601f0d2885817fd1f, 2025-08-06T21:40:10.271Z)
OS version: Windows_NT x64 10.0.26100
Modes:
System Info
| Item |
Value |
| CPUs |
Intel(R) Core(TM) Ultra 7 155H (22 x 2995) |
| GPU Status |
2d_canvas: enabled 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 trees_in_viz: disabled_off video_decode: enabled video_encode: enabled vulkan: disabled_off webgl: enabled webgl2: enabled webgpu: enabled webnn: disabled_off |
| Load (avg) |
undefined |
| Memory (System) |
31.46GB (9.07GB free) |
| Process Argv |
--crash-reporter-id 59f2b7e8-c10d-45b0-a4b3-991d100457a3 |
| Screen Reader |
no |
| VM |
0% |
Extensions (27)
| Extension |
Author (truncated) |
Version |
| docs-view |
bie |
0.1.0 |
| better-json5 |
Blu |
1.6.0 |
| ruff |
cha |
2025.24.0 |
| copilot |
Git |
1.350.0 |
| copilot-chat |
Git |
0.30.0 |
| remotehub |
Git |
0.64.0 |
| vscode-pull-request-github |
Git |
0.116.1 |
| rainbow-csv |
mec |
3.20.0 |
| debugpy |
ms- |
2025.10.0 |
| python |
ms- |
2025.12.0 |
| vscode-pylance |
ms- |
2025.7.1 |
| vscode-python-envs |
ms- |
1.2.0 |
| datawrangler |
ms- |
1.22.0 |
| jupyter |
ms- |
2025.7.0 |
| jupyter-keymap |
ms- |
1.1.2 |
| jupyter-renderers |
ms- |
1.3.0 |
| vscode-jupyter-cell-tags |
ms- |
0.1.9 |
| vscode-jupyter-slideshow |
ms- |
0.1.6 |
| remote-ssh |
ms- |
0.120.0 |
| remote-ssh-edit |
ms- |
0.87.0 |
| remote-wsl |
ms- |
0.99.0 |
| azure-repos |
ms- |
0.40.0 |
| remote-explorer |
ms- |
0.5.0 |
| remote-repositories |
ms- |
0.42.0 |
| vscode-speech |
ms- |
0.16.0 |
| select-compare-tabs |
out |
1.0.3 |
| pdf |
tom |
1.2.2 |
A/B Experiments
vsliv368cf:30146710
vswsl492:30256859
pythonvspyt551cf:31249601
binariesv615:30325510
nativeloc1:31344060
dwcopilot:31170013
6074i472:31201624
dwoutputs:31242946
copilot_t_ci:31333650
e5gg6876:31282496
pythoneinst12:31285622
c7cif404:31314491
996jf627:31283433
pythonrdcb7:31342333
usemplatestapi:31297334
0aa6g176:31307128
747dc170:31275177
aj953862:31281341
pylancequickfixf:31358881
9d2cg352:31346308
convertlamdaf:31358879
usemarketplace:31343026
nesew2to5:31336538
agentclaude:31350858
replacestringexc:31350595
nes-set-on:31351930
6abeh943:31336334
envsdeactivate2:31353495
yijiwantestdri0626-c:31336931
0927b901:31350571
4gdec884:31348710
45650338:31358607
0cj2b977:31352657
0574c672:31362109
Type: Bug
I use multiple environments located at C:\Users\apshankar\Documents\Python_Virtual_envs
If in my launch.json, I put 'justMyCode' = false, then I get an error in the Call Stack pane which says:
[WinError2] The system cannot find the file specified: 'C:\Users\apshankar\AppData\Roaming\Python\Python311\site-packages'
I tried adding the interpreterPath to the launch json but to no avail.
Here is my launch.json
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "Python: Debug Script",
"type": "debugpy",
"request": "launch",
"program": "${file}",
"console": "integratedTerminal",
"justMyCode": false,
"python": "${command:python.interpreterPath}"
//"debugStdLib": false
}
]
}
VS Code version: Code 1.103.0 (e3550cfac4b63ca4eafca7b601f0d2885817fd1f, 2025-08-06T21:40:10.271Z)
OS version: Windows_NT x64 10.0.26100
Modes:
System Info
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
trees_in_viz: disabled_off
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled
webnn: disabled_off
Extensions (27)
A/B Experiments