diff options
author | Nate Sesti <sestinj@gmail.com> | 2023-07-28 10:23:12 -0700 |
---|---|---|
committer | Nate Sesti <sestinj@gmail.com> | 2023-07-28 10:23:12 -0700 |
commit | 5bc80e2e6d3141922c966c404a6d32a496097960 (patch) | |
tree | c2d749c4502fcfc8fdc0610f1151f6b701fba149 /extension/src/activation/environmentSetup.ts | |
parent | 9ded1ea41e65d83e32ed74ca1fb5bd1f00a5d054 (diff) | |
download | sncontinue-5bc80e2e6d3141922c966c404a6d32a496097960.tar.gz sncontinue-5bc80e2e6d3141922c966c404a6d32a496097960.tar.bz2 sncontinue-5bc80e2e6d3141922c966c404a6d32a496097960.zip |
refactor: :loud_sound: improve logs on startup of server
Diffstat (limited to 'extension/src/activation/environmentSetup.ts')
-rw-r--r-- | extension/src/activation/environmentSetup.ts | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/extension/src/activation/environmentSetup.ts b/extension/src/activation/environmentSetup.ts index 44fb3b60..146a6e37 100644 --- a/extension/src/activation/environmentSetup.ts +++ b/extension/src/activation/environmentSetup.ts @@ -487,6 +487,14 @@ export async function startContinuePythonServer() { console.log(`error: ${error.message}`); }); + child.on("close", (code: any) => { + console.log(`child process exited with code ${code}`); + }); + + child.stdout.on("data", (data: any) => { + console.log(`stdout: ${data}`); + }); + // Write the current version of vscode to a file called server_version.txt fs.writeFileSync(serverVersionPath(), getExtensionVersion()); } catch (e) { |