Options
All
  • Public
  • Public/Protected
  • All
Menu

Debug service to work with plugin and extension contributions.

Hierarchy

  • PluginDebugService

Implements

  • DebugService

Index

Constructors

Properties

configurationProviders: Map<number, PluginDebugConfigurationProvider> = ...
connectionProvider: WebSocketConnectionProvider
contributors: Map<string, PluginDebugAdapterContribution> = ...
debuggers: DebuggerContribution[] = []
delegated: DebugService
fireOnDidConfigurationProvidersChanged: DebouncedFunc<(() => void)> = ...
onDidChangeDebugConfigurationProvidersEmitter: Emitter<void> = ...
onDidChangeDebuggersEmitter: Emitter<void> = ...
sessionId2contrib: Map<string, PluginDebugAdapterContribution> = ...
toDispose: DisposableCollection = ...
workspaceService: WorkspaceService

Accessors

  • get onDidChangeDebugConfigurationProviders(): Event<void>
  • get onDidChangeDebuggers(): Event<void>

Methods

  • createDebugSession(config: DebugConfiguration, workspaceFolder: undefined | string): Promise<string>
  • debugTypes(): Promise<string[]>
  • dispose(): void
  • fetchDynamicDebugConfiguration(name: string, providerType: string, folder?: string): Promise<undefined | DebugConfiguration>
  • getConfigurationSnippets(): Promise<IJSONSchemaSnippet[]>
  • getDebuggersForLanguage(language: string): Promise<DebuggerDescription[]>
  • getSchemaAttributes(debugType: string): Promise<IJSONSchema[]>
  • init(): void
  • provideDebugConfigurations(debugType: keyof DebugRequestTypes, workspaceFolderUri: undefined | string): Promise<DebugConfiguration[]>
  • provideDebuggerVariables(debugType: string): Promise<CommandIdVariables>
  • provideDynamicDebugConfigurations(folder?: string): Promise<Record<string, DebugConfiguration[]>>
  • resolveDebugConfiguration(config: DebugConfiguration, workspaceFolderUri: undefined | string): Promise<undefined | null | DebugConfiguration>
  • resolveDebugConfigurationByResolversChain(config: DebugConfiguration, workspaceFolderUri: undefined | string, resolvers: ((folder: undefined | string, debugConfiguration: DebugConfiguration) => Promise<undefined | null | DebugConfiguration>)[]): Promise<undefined | null | DebugConfiguration>
  • resolveDebugConfigurationWithSubstitutedVariables(config: DebugConfiguration, workspaceFolderUri: undefined | string): Promise<undefined | null | DebugConfiguration>
  • terminateDebugSession(sessionId: string): Promise<void>
  • unregisterDebugAdapterContribution(debugType: string): void
  • unregisterDebugConfigurationProvider(handle: number): void