From 9241ffd76d71c72e5fc1c59f2ebdbdae64b74924 Mon Sep 17 00:00:00 2001 From: Connor Peet Date: Sat, 19 Sep 2020 09:32:27 -0700 Subject: [PATCH] fix: only add remote prefix for non-v3 launches Refs https://github.com/microsoft/vscode/issues/102493#issuecomment-695193077 --- src/extension.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/extension.ts b/src/extension.ts index 33e25ab..e408cdb 100644 --- a/src/extension.ts +++ b/src/extension.ts @@ -70,12 +70,12 @@ export class ChromeConfigurationProvider implements vscode.DebugConfigurationPro } } - resolveRemoteUris(folder, config); - if (v3) { folder = folder || (vscode.workspace.workspaceFolders ? vscode.workspace.workspaceFolders[0] : undefined); config['__workspaceFolder'] = folder?.uri.fsPath; config.type = 'pwa-chrome'; + } else { + resolveRemoteUris(folder, config); } return config;