Options
All
  • Public
  • Public/Protected
  • All
Menu

Class DebugConfigurationManager

Hierarchy

  • DebugConfigurationManager

Index

Constructors

Properties

_currentOptions: undefined | DebugSessionOptions
contextKeyService: ContextKeyService
debugConfigurationTypeKey: ContextKey<string>
editorManager: EditorManager
initialized: Promise<void>
labelProvider: LabelProvider
models: Map<string, DebugConfigurationModel> = ...
onDidChange: Event<void> = ...
onDidChangeEmitter: Emitter<void> = ...
onWillProvideDebugConfiguration: Event<WillProvideDebugConfiguration> = ...
onWillProvideDebugConfigurationEmitter: Emitter<WillProvideDebugConfiguration> = ...
onWillProvideDynamicDebugConfigurationEmitter: Emitter<WillProvideDebugConfiguration> = ...
preferenceConfigurations: PreferenceConfigurations
preferences: PreferenceService
quickPickService: QuickPickService
recentDynamicOptionsTracker: DynamicDebugConfigurationSessionOptions[] = []
storage: StorageService
textModelService: MonacoTextModelService
updateModels: ((...arguments: []) => Promise<void>) = ...

Type declaration

    • (...arguments: []): Promise<void>
    • Debounce promise-returning & async functions.

      example
      import pDebounce = require('p-debounce');

      const expensiveCall = async input => input;

      const debouncedFn = pDebounce(expensiveCall, 200);

      for (const i of [1, 2, 3]) {
      debouncedFn(i).then(console.log);
      }
      //=> 3
      //=> 3
      //=> 3

      Parameters

      • Rest ...arguments: []

      Returns Promise<void>

      A function that delays calling fn until after wait milliseconds have elapsed since the last time it was called.

workspaceService: WorkspaceService
workspaceVariables: WorkspaceVariableContribution

Accessors

  • get onDidChangeConfigurationProviders(): Event<void>

Methods

  • addConfiguration(): Promise<void>
  • doInit(): Promise<void>
  • fetchDynamicDebugConfiguration(name: string, type: string, folder?: string): Promise<undefined | DebugConfiguration>
  • findCompound(name: string, workspaceFolderUri?: string): undefined | DebugCompound
  • findConfiguration(name: string, workspaceFolderUri?: string): undefined | DebugConfiguration
  • fireWillProvideDebugConfiguration(): Promise<void>
  • fireWillProvideDynamicDebugConfiguration(): Promise<void>
  • init(): void
  • load(): Promise<void>
  • openConfiguration(): Promise<void>
  • provideDebugConfigurations(debugType: string, workspaceFolderUri: undefined | string): Promise<DebugConfiguration[]>
  • save(): void
  • selectDebugType(): Promise<undefined | string>
  • selectRootUri(): Promise<undefined | URI>