summaryrefslogtreecommitdiff
path: root/python3/vdebug/util.py
diff options
context:
space:
mode:
Diffstat (limited to 'python3/vdebug/util.py')
-rw-r--r--python3/vdebug/util.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/python3/vdebug/util.py b/python3/vdebug/util.py
index 4332e7e..09bf48f 100644
--- a/python3/vdebug/util.py
+++ b/python3/vdebug/util.py
@@ -278,7 +278,8 @@ class FilePath:
return self.local
def as_remote(self):
- return self.remote
+ # on win os backslash will cost breakpoint miss hit
+ return self.remote.replace('\\', '/') if self.is_win else self.remote
@staticmethod
def _findSeparator(path):