src/vs/workbench/api/common/extHostDebugService.ts/ExtHostDebugServiceBase/getAdapterDescriptorFactoryByType
class ExtHostDebugServiceBase:	private getAdapterDescriptorFactoryByType(type: string): vscode.DebugAdapterDescriptorFactory | undefined {
		const results = this._adapterFactories.filter(p => p.type === type);
		if (results.length > 0) {
			return results[0].factory;
		}
		return undefined;
	}