mirror of
https://github.com/microsoft/vscode.git
synced 2026-03-03 15:29:23 +00:00
--verbose tweaks
This commit is contained in:
@@ -41,12 +41,18 @@ export function main(argv: string[]): TPromise<void> {
|
||||
'VSCODE_CLI': '1',
|
||||
'ELECTRON_NO_ATTACH_CONSOLE': '1'
|
||||
});
|
||||
|
||||
delete env['ELECTRON_RUN_AS_NODE'];
|
||||
|
||||
let options = {
|
||||
if (args.verbose) {
|
||||
env['ELECTRON_ENABLE_LOGGING'] = '1';
|
||||
}
|
||||
|
||||
const options = {
|
||||
detached: true,
|
||||
env,
|
||||
};
|
||||
|
||||
if (!args.verbose) {
|
||||
options['stdio'] = 'ignore';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user