src/vs/workbench/contrib/debug/browser/debugAdapterManager.ts/AdapterManager/registerDebugAdapterDescriptorFactory
class AdapterManager:	registerDebugAdapterDescriptorFactory(debugAdapterProvider: IDebugAdapterDescriptorFactory): IDisposable {
		this.adapterDescriptorFactories.push(debugAdapterProvider);
		return {
			dispose: () => {
				this.unregisterDebugAdapterDescriptorFactory(debugAdapterProvider);
			}
		};
	}