Skip to content

Commit 5e1f895

Browse files
author
Benjamin Doherty
committed
Allow phar:/// map breakpoint setting
1 parent 4c6a7ca commit 5e1f895

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

plugin/python/vdebug/util.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,9 @@ def _create_remote(self,f):
145145
ret = ret.replace('\\', '/')
146146
break
147147

148-
if ret.startswith('/'):
148+
if ret.startswith('phar://'):
149+
return ret
150+
elif ret.startswith('/'):
149151
return "file://"+ret
150152
else:
151153
return "file:///"+ret

0 commit comments

Comments
 (0)