0

I am debugging my package written in python from venv. Such that the repo source files, where the changes the the source appear are different from the source files installed in venv.

Is it somehow possible (some extension?) to map the paths, that are included in the python exception trace (the env ones) to the files in the repo dir (which vscode has opened as folder).

The way I see it is as follows: I create map entries of the form:

Source: <fromDir>/*.py; Target: <toDir>/*.py

or just like this:

Source: <fromDir>; Target: <toDir>

And vscode "Open file in editor" feature would call this mapping to resolve the target file path.

Is there something like that in 2025 in vscode?

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.