Skip to content

Commit d3269b3

Browse files
karthiknadigDonJayamanne
authored andcommitted
Give preference to PTSVD in current path (microsoft#2819)
* For microsoft#2818 * Change from insert to launch * Add news entry
1 parent 027832d commit d3269b3

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

‎news/2 Fixes/2818.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Give preference to PTSVD in current path.

‎pythonFiles/experimental/ptvsd_launcher.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@
8080
ptvs_lib_path = None
8181
if bundled_ptvsd:
8282
ptvs_lib_path = os.path.join(os.path.dirname(__file__), 'ptvsd')
83-
sys.path.insert(0, ptvs_lib_path)
83+
sys.path.append(ptvs_lib_path)
8484
try:
8585
import ptvsd
8686
import ptvsd.debugger as vspd

0 commit comments

Comments
 (0)