We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ptvsd
Setting PYTHONPATH has no effect while ptvsd.
PYTHONPATH
Should import ptvsd from current path first.
git clone https://github.com/Microsoft/ptvsd
C:\
"env": {"PYTHONPATH":"C:\\ptvsd"},
import ptvsd print(ptvsd.__file__)
C:\ptvsd\ptvsd\__init__.py
Change ptvsd_launcher.py to append the extension path to sys.path instead of inserting.
ptvsd_launcher.py
append
sys.path
inserting
The text was updated successfully, but these errors were encountered:
Give preference to PTSVD in current path (#2819)
d3269b3
* For #2818 * Change from insert to launch * Add news entry
No branches or pull requests
Environment data
Actual behavior
Setting
PYTHONPATH
has no effect whileptvsd
.Expected behavior
Should import
ptvsd
from current path first.Steps to reproduce:
git clone https://github.com/Microsoft/ptvsd
inC:\
"env": {"PYTHONPATH":"C:\\ptvsd"},
C:\ptvsd\ptvsd\__init__.py
Solution
Change
ptvsd_launcher.py
toappend
the extension path tosys.path
instead ofinserting
.The text was updated successfully, but these errors were encountered: