diff options
Diffstat (limited to 'extension/src/debugPanel.ts')
-rw-r--r-- | extension/src/debugPanel.ts | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/extension/src/debugPanel.ts b/extension/src/debugPanel.ts index e7568f0d..d1fe565f 100644 --- a/extension/src/debugPanel.ts +++ b/extension/src/debugPanel.ts @@ -181,13 +181,11 @@ export function setupDebugPanel( switch (data.type) { case "onLoad": { let sessionId: string; - console.log("Waiting for session id"); if (typeof sessionIdPromise === "string") { sessionId = sessionIdPromise; } else { sessionId = await sessionIdPromise; } - console.log("Done with onLoad: ", sessionId); panel.webview.postMessage({ type: "onLoad", vscMachineId: vscode.env.machineId, @@ -240,6 +238,11 @@ export function setupDebugPanel( openEditorAndRevealRange(data.path, undefined, vscode.ViewColumn.One); break; } + case "toggleDevTools": { + vscode.commands.executeCommand("workbench.action.toggleDevTools"); + vscode.commands.executeCommand("continue.viewLogs"); + break; + } case "blurContinueInput": { setFocusedOnContinueInput(false); break; |