Skip to content

Commit 0b0d9b6

Browse files
add logs
Signed-off-by: Roman Nikitenko <rnikiten@redhat.com>
1 parent 8fee279 commit 0b0d9b6

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

code/src/vs/server/node/extensionHostConnection.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@ export async function buildUserEnvironment(startParamsEnv: { [key: string]: stri
3737
}
3838

3939
const processEnv = process.env;
40+
logService.info(`[che-code][env-merge] processEnv LD_LIBRARY_PATH: ${processEnv['LD_LIBRARY_PATH'] ?? '<unset>'}`);
41+
logService.info(`[che-code][env-merge] userShellEnv LD_LIBRARY_PATH: ${userShellEnv['LD_LIBRARY_PATH'] ?? '<unset>'}`);
4042

4143
const env: IProcessEnvironment = {
4244
...processEnv,
@@ -48,6 +50,7 @@ export async function buildUserEnvironment(startParamsEnv: { [key: string]: stri
4850
},
4951
...startParamsEnv
5052
};
53+
logService.info(`[che-code][env-merge] merged env LD_LIBRARY_PATH: ${env['LD_LIBRARY_PATH'] ?? '<unset>'}`);
5154

5255
const binFolder = environmentService.isBuilt ? join(environmentService.appRoot, 'bin') : join(environmentService.appRoot, 'resources', 'server', 'bin-dev');
5356
const remoteCliBinFolder = join(binFolder, 'remote-cli'); // contains the `code` command that can talk to the remote server

0 commit comments

Comments
 (0)