Skip to content

Commit

Permalink
Use inspect-port=0 for automatic extension host profiling, #85328
Browse files Browse the repository at this point in the history
  • Loading branch information
jrieken committed Nov 22, 2019
1 parent a88a14d commit c8dd9fc
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c8dd9fc

Please sign in to comment.