Class DebugSessionManager

Constructors

Properties

Accessors

Methods

Constructors

Properties

_currentSession: undefined | DebugSession
_sessions: Map<string, DebugSession> = ...
breakpoints: BreakpointManager
configurationIds: Map<string, number> = ...
contextKeyService: ContextKeyService
debugConfigurationManager: DebugConfigurationManager
debugSessionFactory: DebugSessionFactory
debugStateKey: ContextKey<string>
debugTypeKey: ContextKey<string>
disposeOnCurrentSessionChanged: DisposableCollection = ...
editorManager: EditorManager
inDebugModeKey: ContextKey<boolean>
labelProvider: LabelProvider
messageService: MessageService
onDidChange: Event<undefined | DebugSession> = ...
onDidChangeActiveDebugSession: Event<DidChangeActiveDebugSession> = ...
onDidChangeActiveDebugSessionEmitter: Emitter<DidChangeActiveDebugSession> = ...
onDidChangeBreakpoints: Event<DidChangeBreakpointsEvent> = ...
onDidChangeBreakpointsEmitter: Emitter<DidChangeBreakpointsEvent> = ...
onDidChangeEmitter: Emitter<undefined | DebugSession> = ...
onDidCreateDebugSession: Event<DebugSession> = ...
onDidCreateDebugSessionEmitter: Emitter<DebugSession> = ...
onDidDestroyDebugSession: Event<DebugSession> = ...
onDidDestroyDebugSessionEmitter: Emitter<DebugSession> = ...
onDidFocusStackFrame: Event<undefined | DebugStackFrame> = ...
onDidFocusStackFrameEmitter: Emitter<undefined | DebugStackFrame> = ...
onDidFocusThread: Event<undefined | DebugThread> = ...
onDidFocusThreadEmitter: Emitter<undefined | DebugThread> = ...
onDidReceiveDebugSessionCustomEvent: Event<DebugSessionCustomEvent> = ...
onDidReceiveDebugSessionCustomEventEmitter: Emitter<DebugSessionCustomEvent> = ...
onDidStartDebugSession: Event<DebugSession> = ...
onDidStartDebugSessionEmitter: Emitter<DebugSession> = ...
onDidStopDebugSession: Event<DebugSession> = ...
onDidStopDebugSessionEmitter: Emitter<DebugSession> = ...
onWillResolveDebugConfiguration: Event<WillResolveDebugConfiguration> = ...
onWillResolveDebugConfigurationEmitter: Emitter<WillResolveDebugConfiguration> = ...
onWillStartDebugSession: Event<WillStartDebugSession> = ...
onWillStartDebugSessionEmitter: Emitter<WillStartDebugSession> = ...
progressService: ProgressService
quickOpenTask: QuickOpenTask
sessionContributionRegistry: DebugSessionContributionRegistry
shell: ApplicationShell
taskService: TaskService
variableResolver: VariableResolverService

Accessors

Methods

  • Runs the given tasks.

    Parameters

    • workspaceFolderUri: undefined | string
    • taskName: undefined | string | TaskIdentifier

      the task name to run, see TaskNameResolver

    • Optional checkErrors: boolean

    Returns Promise<boolean>

    true if it allowed to continue debugging otherwise it returns false