Skip to content

Commit af10894

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

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

code/src/vs/platform/shell/node/shellEnv.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -208,9 +208,11 @@ async function doResolveUnixShellEnv(logService: ILogService, token: Cancellatio
208208
}
209209

210210
delete env['VSCODE_RESOLVING_ENVIRONMENT'];
211+
logService.info(`*********** [che-code][shellEnv] LD_LIBRARY_PATH before sanitize: ${env['LD_LIBRARY_PATH'] ?? '<unset>'}`);
211212
if (shouldStripLdLibraryPath()) {
212213
sanitizeLdLibraryPathInEnvironment(env);
213214
}
215+
logService.info(`**** [che-code][shellEnv] LD_LIBRARY_PATH after sanitize: ${env['LD_LIBRARY_PATH'] ?? '<unset>'}`);
214216

215217
// https://github.com/microsoft/vscode/issues/22593#issuecomment-336050758
216218
delete env['XDG_RUNTIME_DIR'];

0 commit comments

Comments
 (0)