Skip to content

Debugger is making up its own virtualenv location and unable to run #746

Open
@NegassaB

Description

@NegassaB

Before creating a new issue, please check the FAQ to see if your question is answered there.

Environment data

  • debugpy version: XXX (run import debugpy; print(debugpy.__version__) if uncertain)
  • OS and version: Fedora 37
  • Python version (& distribution if applicable, e.g. Anaconda): 3.8.18
  • Using VS Code or Visual Studio: VS Code

Actual behavior

the debugger looks for an non-existent virtual environment folder /./venv/bin/python and stops execution

Expected behavior

for the debugger to recognize the virtual environment and run without a hitch

Steps to reproduce:

  1. in launch.json with the new update the "type" value was changed from "python" to "debugpy"
  2. when trying to run the debugger with F5 or by pressing the play button the below error comes up and stops execution
Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    triage-neededNeeds assignment to the proper sub-team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions