You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Unable to run a Python module in a subprocess when subProcess: true #1997
Running this in the debugger with "subProcess": true fails:
bash-3.2$ cd /Users/pete/projects/subprocess_test ; /usr/bin/env /Users/pete/projects/subprocess_test/.venv/bin/python /Users/pete/.vscode/extensions/ms-python.debugpy-2025.18.0-darwin-arm64/bundled/libs/debugpy/adapter/../../debugpy/launcher 56894 -- /Users/pete/projects/subprocess_test/main.py
No module named sub
Running it with "subProcess": false works as expected:
Activity
rchiodo commentedon Feb 23, 2026
Reopening until we actually ship the fix. This seems to have been caused by changes in 3.14.
anvilpete commentedon Feb 23, 2026
Amazing, many thanks Rich!
falkben commentedon Apr 21, 2026
For what it's worth, I get the error "No module named sub" even when I set
"subProcess": false,This is on python 3.14.4 and using conda, though.