Relative Content

Tag Archive for pythonvisual-studio-codedebugging

Debug Python files that have been copied into a different build folder

I have a simplistic PowerShell script-based build process where I copy some Python source files in /src over to a /build folder, along with some data files and assets stored in other external subfolders. I want to run the VS Code Debugger against this build folder (full path: /build/demo/quad/quad.py), but mark my breakpoints against the files in /src (equivalent file found in /src/python/quad.py).