From aa33c32813d11f980802004e2e4ee37a0891b061 Mon Sep 17 00:00:00 2001 From: Nate Sesti Date: Mon, 14 Aug 2023 13:54:40 -0700 Subject: more logging --- extension/src/activation/environmentSetup.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/extension/src/activation/environmentSetup.ts b/extension/src/activation/environmentSetup.ts index 489bb093..fc09a04d 100644 --- a/extension/src/activation/environmentSetup.ts +++ b/extension/src/activation/environmentSetup.ts @@ -209,6 +209,7 @@ export async function startContinuePythonServer(redownload: boolean = true) { ); console.log("Downloaded server executable at ", destination); } + console.log("4"); // Get name of the corresponding executable for platform if (os.platform() === "darwin") { @@ -220,10 +221,12 @@ export async function startContinuePythonServer(redownload: boolean = true) { fs.chmodSync(destination, 0o7_5_5); } + console.log("5"); // Validate that the file exists if (!fs.existsSync(destination)) { const errText = `- Failed to install Continue server.`; vscode.window.showErrorMessage(errText); + console.log("6: throwing error message: ", errText); throw new Error(errText); } -- cgit v1.2.3-70-g09d2