workaround for crashing eh

This commit is contained in:
Andre Weinand
2020-04-20 15:03:56 +02:00
parent 968de61532
commit be994e14c6

View File

@@ -847,7 +847,7 @@ export function createApiFactoryAndRegisterActors(accessor: ServicesAccessor): I
return extHostDebugService.onDidChangeBreakpoints(listener, thisArgs, disposables);
},
registerDebugConfigurationProvider(debugType: string, provider: vscode.DebugConfigurationProvider, scope?: vscode.DebugConfigurationProviderScope) {
return extHostDebugService.registerDebugConfigurationProvider(debugType, provider, scope || vscode.DebugConfigurationProviderScope.Initial);
return extHostDebugService.registerDebugConfigurationProvider(debugType, provider, scope || 1);
},
registerDebugAdapterDescriptorFactory(debugType: string, factory: vscode.DebugAdapterDescriptorFactory) {
return extHostDebugService.registerDebugAdapterDescriptorFactory(extension, debugType, factory);