Closed
Description
Currently if you build and debug the extension from source, you won;t have ptvsd
installed in the extension directory (which is the directory you git check out). The extension will look for the debugger under that directory. Since it is not installed there it will fail to run.
Workaround:
Suppose you have extension code checked out in this location: C:\GIT\vscode-python, then Run these two commands. You will need both.
Install without wheels:
python -m pip --disable-pip-version-check install -t C:\GIT\vscode-python\pythonFiles\lib\python\new_ptvsd\no_wheels --no-cache-dir --implementation py --no-deps --upgrade ptvsd==5.0.0a8
Install with wheels:
python -m pip --disable-pip-version-check install -t C:\GIT\vscode-python\pythonFiles\lib\python\new_ptvsd\wheels --no-cache-dir --no-deps --upgrade ptvsd==5.0.0a8