mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-08 09:08:48 +01:00
testresolver: set log level with TESTRESOLVER_LOG_LEVEL. For #146897
This commit is contained in:
@@ -90,7 +90,10 @@ export function activate(context: vscode.ExtensionContext) {
|
||||
if (logsDir) {
|
||||
commandArgs.push('--logsPath', logsDir);
|
||||
}
|
||||
|
||||
const logLevel = process.env['TESTRESOLVER_LOG_LEVEL'];
|
||||
if (logLevel) {
|
||||
commandArgs.push('--log', logLevel);
|
||||
}
|
||||
outputChannel.appendLine(`Using data folder at ${remoteDataDir}`);
|
||||
commandArgs.push('--server-data-dir', remoteDataDir);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user