diff --git a/extension/src/activation/activate.ts b/extension/src/activation/activate.ts index cbb840c0e..a47d5e97b 100644 --- a/extension/src/activation/activate.ts +++ b/extension/src/activation/activate.ts @@ -86,6 +86,17 @@ export async function activateExtension(context: vscode.ExtensionContext) { return Promise.resolve(); } ); + + 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"); + } + }); } }, 2000); }); diff --git a/extension/src/debugPanel.ts b/extension/src/debugPanel.ts index d39721891..643563a2c 100644 --- a/extension/src/debugPanel.ts +++ b/extension/src/debugPanel.ts @@ -272,16 +272,7 @@ 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; } }