forked from DonJayamanne/pythonVSCode
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Closed
Labels
area-debuggingbugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable bugimportantIssue identified as high-priorityIssue identified as high-priority
Description
Environment data
- VS Code version: 1.27.1
- Extension version (available under the Extensions sidebar): 2018.8.0
- OS and version: Windows 7
- Python version (& distribution if applicable, e.g. Anaconda): Anaconda 5.2
Actual behavior
When I debug a python file in vscode my PYTHONPATH variable is overridden.
here is the relevant line shown on the terminal.
set "PYTHONPATH=c:\Users\username.vscode\extensions\ms-python.python-2018.8.0\pythonFiles\experimental\ptvsd"
Expected behavior
I would expect the PYTHONPATH to be appended to not overridden.
Steps to reproduce:
- Set the PYTHONPATH variable to something
- debug a script with the follow code:
import sys
print(sys.path)
You should not see the path that you set in the PYTHONPATH
FletcherFT, elenfant and SHZ66
Metadata
Metadata
Assignees
Labels
area-debuggingbugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable bugimportantIssue identified as high-priorityIssue identified as high-priority