mirror of
https://github.com/Microsoft/vscode
synced 2024-08-27 04:49:35 +00:00
Use inspect-port=0 for automatic extension host profiling, #85328
This commit is contained in:
parent
a88a14d617
commit
c8dd9fc554
|
@ -158,6 +158,8 @@ export class ExtensionHostProcessWorker implements IExtensionHostStarter {
|
|||
'--nolazy',
|
||||
(this._isExtensionDevDebugBrk ? '--inspect-brk=' : '--inspect=') + portNumber
|
||||
];
|
||||
} else {
|
||||
opts.execArgv = ['--inspect-port=0'];
|
||||
}
|
||||
|
||||
const crashReporterOptions = undefined; // TODO@electron pass this in as options to the extension host after verifying this actually works
|
||||
|
|
Loading…
Reference in a new issue