summaryrefslogtreecommitdiff
path: root/extension/src/activation
diff options
context:
space:
mode:
authorNate Sesti <sestinj@gmail.com>2023-08-14 14:53:42 -0700
committerNate Sesti <sestinj@gmail.com>2023-08-14 14:53:42 -0700
commit47556eecdc084a67afc7aa271f70b82badd66b24 (patch)
tree30f9f9c96692bec6e0d5394d4136d99565ea7642 /extension/src/activation
parent1e54bebc84fe922e62c8291822856706d0c652ae (diff)
downloadsncontinue-47556eecdc084a67afc7aa271f70b82badd66b24.tar.gz
sncontinue-47556eecdc084a67afc7aa271f70b82badd66b24.tar.bz2
sncontinue-47556eecdc084a67afc7aa271f70b82badd66b24.zip
log destination
Diffstat (limited to 'extension/src/activation')
-rw-r--r--extension/src/activation/environmentSetup.ts8
1 files changed, 1 insertions, 7 deletions
diff --git a/extension/src/activation/environmentSetup.ts b/extension/src/activation/environmentSetup.ts
index fc09a04d..1f088386 100644
--- a/extension/src/activation/environmentSetup.ts
+++ b/extension/src/activation/environmentSetup.ts
@@ -147,8 +147,6 @@ export async function downloadFromS3(
}
export async function startContinuePythonServer(redownload: boolean = true) {
- console.log("Starting Continue Python");
-
// Check vscode settings
const serverUrl = getContinueServerUrl();
if (serverUrl !== "http://localhost:65432") {
@@ -156,7 +154,6 @@ export async function startContinuePythonServer(redownload: boolean = true) {
return;
}
- console.log("1");
// Check if server is already running
if (await checkOrKillRunningServer(serverUrl)) {
console.log("Continue server already running");
@@ -180,7 +177,6 @@ export async function startContinuePythonServer(redownload: boolean = true) {
);
// First, check if the server is already downloaded
- console.log("2");
let shouldDownload = true;
if (fs.existsSync(destination)) {
// Check if the server is the correct version
@@ -195,7 +191,6 @@ export async function startContinuePythonServer(redownload: boolean = true) {
}
}
- console.log("3");
if (shouldDownload && redownload) {
await vscode.window.withProgress(
{
@@ -209,7 +204,6 @@ 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") {
@@ -221,8 +215,8 @@ export async function startContinuePythonServer(redownload: boolean = true) {
fs.chmodSync(destination, 0o7_5_5);
}
- console.log("5");
// Validate that the file exists
+ console.log("Looking for file at ", destination);
if (!fs.existsSync(destination)) {
const errText = `- Failed to install Continue server.`;
vscode.window.showErrorMessage(errText);