Skip to content

Commit a747d26

Browse files
jriekenchrmarti
authored andcommitted
Use inspect-port=0 for automatic extension host profiling, #85328
1 parent 8fc9c48 commit a747d26

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/vs/workbench/services/extensions/electron-browser/extensionHost.ts

+2
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,8 @@ export class ExtensionHostProcessWorker implements IExtensionHostStarter {
158158
'--nolazy',
159159
(this._isExtensionDevDebugBrk ? '--inspect-brk=' : '--inspect=') + portNumber
160160
];
161+
} else {
162+
opts.execArgv = ['--inspect-port=0'];
161163
}
162164

163165
const crashReporterOptions = undefined; // TODO@electron pass this in as options to the extension host after verifying this actually works

0 commit comments

Comments
 (0)