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 authored and chrmarti committed Nov 23, 2019
1 parent 8fc9c48 commit a747d26
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 a747d26

Please sign in to comment.