summaryrefslogtreecommitdiff
path: root/extension/src
diff options
context:
space:
mode:
Diffstat (limited to 'extension/src')
-rw-r--r--extension/src/activation/environmentSetup.ts3
-rw-r--r--extension/src/continueIdeClient.ts2
2 files changed, 3 insertions, 2 deletions
diff --git a/extension/src/activation/environmentSetup.ts b/extension/src/activation/environmentSetup.ts
index 146a6e37..04bcd0b6 100644
--- a/extension/src/activation/environmentSetup.ts
+++ b/extension/src/activation/environmentSetup.ts
@@ -463,9 +463,8 @@ export async function startContinuePythonServer() {
const command = `cd "${serverPath()}" && ${activateCmd} && cd .. && ${pythonCmd} -m server.run_continue_server`;
- console.log("Starting Continue python server...");
-
return new Promise(async (resolve, reject) => {
+ console.log("Starting Continue python server...");
try {
const child = spawn(command, {
shell: true,
diff --git a/extension/src/continueIdeClient.ts b/extension/src/continueIdeClient.ts
index 157b59cb..0b528054 100644
--- a/extension/src/continueIdeClient.ts
+++ b/extension/src/continueIdeClient.ts
@@ -62,9 +62,11 @@ class IdeProtocolClient {
this._lastReloadTime = Math.min(2 * this._lastReloadTime, 5000);
};
messenger.onOpen(() => {
+ console.log("IDE protocol websocket opened");
this._reconnectionTimeouts.forEach((to) => clearTimeout(to));
});
messenger.onClose(() => {
+ console.log("IDE protocol websocket closed");
reconnect();
});
messenger.onError(() => {