Skip to content

Commit bc1fff1

Browse files
committed
Add comment to path workaround
1 parent 769946d commit bc1fff1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/examples/src/debugger/client/debugger.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,8 @@ export const confiugureDebugging = async (api: typeof vscode, config: ConfigPara
6262
onDidSendMessage = this._onDidSendMessage.event;
6363

6464
handleMessage(message: vscode.DebugProtocolMessage): void {
65+
// path with on Windows (Chrome/Firefox) arrive here with \\ and not like expected with /
66+
// Chrome on Ubuntu behaves as expected
6567
const msg = JSON.stringify(message).replaceAll('\\\\', '/');
6668
this.websocket.send(msg);
6769
}

0 commit comments

Comments
 (0)