Skip to content

Commit a10769d

Browse files
committed
✨ remote path mapping
1 parent ec65dd0 commit a10769d

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/test/debugger/attach.ptvsd.test.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,9 @@ suite('Attach Debugger - Experimental', () => {
111111
stdOutPromise, stdErrPromise
112112
]);
113113

114-
await debugClient.assertStoppedLocation('breakpoint', breakpointLocation);
114+
// Unfortunately PTVSD will be running on the current OS, hence paths will be concatenated using current OS path separator.
115+
const expectedBreapointFile = path.join(localRoot, path.basename(fileToDebug));
116+
await debugClient.assertStoppedLocation('breakpoint', { path: expectedBreapointFile, column: 1, line: 12 });
115117

116118
await Promise.all([
117119
continueDebugging(debugClient),
@@ -131,6 +133,7 @@ suite('Attach Debugger - Experimental', () => {
131133
});
132134
test('Confirm localpath translations are done correctly', async function () {
133135
this.timeout(20000);
136+
this.retries(0);
134137
// Lets skip this test on AppVeyor (very flaky on AppVeyor).
135138
if (IS_APPVEYOR) {
136139
return;

0 commit comments

Comments
 (0)