-
Notifications
You must be signed in to change notification settings - Fork 36
Closed
Labels
author-verification-requestedIssues potentially verifiable by issue authorIssues potentially verifiable by issue authorverification-neededVerification of issue is requestedVerification of issue is requestedverifiedVerification succeededVerification succeeded
Description
Hi,
When I try to debug a Python file using the Conda environment detected by the VS Code Python extension, it seems to use an incorrect configuration. The console shows the following automatically generated command and results in a Permission denied error:
/usr/bin/env /home/jovyan/.conda/envs/py310 /home/jovyan/.vscode-server/extensions/ms-python.debugpy-2025.10.0-linux-x64/bundled/libs/debugpy/adapter/../../debugpy/launcher 40869 -- /home/jovyan/test.py
/usr/bin/env: ‘/home/jovyan/.conda/envs/py310’: Permission deniedIt appears that the extension tries to run the environment path itself as a command, which fails because it is a directory, not an executable.
The correct behavior should be to execute the Python binary like this:
/usr/bin/env /home/jovyan/.conda/envs/py310/bin/python ...Could you please help me fix or work around this issue?
Thanks!
randalvance and beck3905
Metadata
Metadata
Assignees
Labels
author-verification-requestedIssues potentially verifiable by issue authorIssues potentially verifiable by issue authorverification-neededVerification of issue is requestedVerification of issue is requestedverifiedVerification succeededVerification succeeded