forked from DonJayamanne/pythonVSCode
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Open
Labels
area-internalLabel for non-user facing issuesLabel for non-user facing issuesdebtCovers everything internal: CI, testing, refactoring of the codebase, etc.Covers everything internal: CI, testing, refactoring of the codebase, etc.needs spikeLabel for issues that need investigation before they can be worked on.Label for issues that need investigation before they can be worked on.
Description
When debugging, the whole of pythonFiles is put on to sys.path via PYTHONPATH. This led to an issue requiring a hotfix due to the tests package accidentally being shipped in the .vsix. Unfortunately this will continue to be a problem for any code placed in that directory.
To help minimize future clashes with user code during debugging, it would be best to separate all code in that directory into thematic directories to minimize the chance of shadowing user's code. This is somewhat already done when dependencies are installed into pythonFiles/lib/python instead of into pythonFiles directly.
Metadata
Metadata
Assignees
Labels
area-internalLabel for non-user facing issuesLabel for non-user facing issuesdebtCovers everything internal: CI, testing, refactoring of the codebase, etc.Covers everything internal: CI, testing, refactoring of the codebase, etc.needs spikeLabel for issues that need investigation before they can be worked on.Label for issues that need investigation before they can be worked on.