From b83eb52c98d637ab3e3becf98aed9899821ea00d Mon Sep 17 00:00:00 2001 From: Nate Sesti Date: Thu, 27 Jul 2023 11:39:17 -0700 Subject: feat: :technologist: button to view logs when loading --- extension/src/debugPanel.ts | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'extension') diff --git a/extension/src/debugPanel.ts b/extension/src/debugPanel.ts index ece362f5..3c4f8481 100644 --- a/extension/src/debugPanel.ts +++ b/extension/src/debugPanel.ts @@ -249,6 +249,16 @@ export function setupDebugPanel( }); } ); + vscode.window + .showInformationMessage( + "Click here to view the server logs, or use the 'continue.viewLogs' VS Code command.", + "View Logs" + ) + .then((selection) => { + if (selection === "View Logs") { + vscode.commands.executeCommand("continue.viewLogs"); + } + }); break; } } -- cgit v1.2.3-70-g09d2