src/vs/workbench/services/extensions/common/extensionHostManager.ts/ExtensionHostManager/getInspectPort
class ExtensionHostManager:	public async getInspectPort(tryEnableInspector: boolean): Promise<number> {
		if (this._extensionHost) {
			if (tryEnableInspector) {
				await this._extensionHost.enableInspectPort();
			}
			let port = this._extensionHost.getInspectPort();
			if (port) {
				return port;
			}
		}
		return 0;
	}