src/vs/workbench/services/extensions/node/extensionHostProcessSetup.ts/removeInspectPort
(function removeInspectPort() {
	for (let i = 0; i < process.execArgv.length; i++) {
		if (process.execArgv[i] === '--inspect-port=0') {
			process.execArgv.splice(i, 1);
			i--;
		}
	}
})();