Options
All
  • Public
  • Public/Protected
  • All
Menu

It is supposed to work at node only.

Hierarchy

  • DebugExtImpl

Implements

Index

Constructors

constructor

Properties

Private Readonly _breakpoints

_breakpoints: Map<string, Breakpoint> = ...

activeDebugConsole

activeDebugConsole: DebugConsole

activeDebugSession

activeDebugSession: undefined | DebugSession

Private commandRegistryExt

commandRegistryExt: CommandRegistryImpl

Private configurationProviders

configurationProviders: Map<string, Set<DebugConfigurationProvider>> = ...

Private connectionExt

connectionExt: ConnectionExtImpl

Private contributionPaths

contributionPaths: Map<string, string> = ...

Private debuggersContributions

debuggersContributions: Map<string, PluginPackageDebuggersContribution> = ...

Only use internally, don't send it to the frontend. It's expensive! It's already there as a part of the plugin metadata.

Private descriptorFactories

descriptorFactories: Map<string, DebugAdapterDescriptorFactory> = ...

Private dynamicConfigurationProviders

dynamicConfigurationProviders: Map<string, Set<DebugConfigurationProvider>> = ...

Private Readonly onDidChangeActiveDebugSessionEmitter

onDidChangeActiveDebugSessionEmitter: Emitter<undefined | DebugSession> = ...

Private Readonly onDidChangeBreakpointsEmitter

onDidChangeBreakpointsEmitter: Emitter<BreakpointsChangeEvent> = ...

Private Readonly onDidReceiveDebugSessionCustomEmitter

onDidReceiveDebugSessionCustomEmitter: Emitter<DebugSessionCustomEvent> = ...

Private Readonly onDidStartDebugSessionEmitter

onDidStartDebugSessionEmitter: Emitter<DebugSession> = ...

Private Readonly onDidTerminateDebugSessionEmitter

onDidTerminateDebugSessionEmitter: Emitter<DebugSession> = ...

Private proxy

proxy: DebugMain

Private sessions

sessions: Map<string, PluginDebugAdapterSession> = ...

Private trackerFactories

trackerFactories: [string, DebugAdapterTrackerFactory][] = []

Accessors

breakpoints

  • get breakpoints(): Breakpoint[]

onDidChangeActiveDebugSession

  • get onDidChangeActiveDebugSession(): Event<undefined | DebugSession>

onDidChangeBreakpoints

  • get onDidChangeBreakpoints(): Event<BreakpointsChangeEvent>

onDidReceiveDebugSessionCustomEvent

  • get onDidReceiveDebugSessionCustomEvent(): Event<DebugSessionCustomEvent>

onDidStartDebugSession

  • get onDidStartDebugSession(): Event<DebugSession>

onDidTerminateDebugSession

  • get onDidTerminateDebugSession(): Event<DebugSession>

Methods

$breakpointsDidChange

  • $breakpointsDidChange(added: Breakpoint[], removed: string[], changed: Breakpoint[]): Promise<void>

$createDebugSession

  • $createDebugSession(debugConfiguration: DebugConfiguration): Promise<string>

$getTerminalCreationOptions

$onSessionCustomEvent

  • $onSessionCustomEvent(sessionId: string, event: string, body?: any): Promise<void>

$provideDebugConfigurations

  • $provideDebugConfigurations(debugType: string, workspaceFolderUri: undefined | string, dynamic?: boolean): Promise<DebugConfiguration[]>

$resolveDebugConfigurationWithSubstitutedVariables

  • $resolveDebugConfigurationWithSubstitutedVariables(debugConfiguration: DebugConfiguration, workspaceFolderUri: undefined | string): Promise<undefined | DebugConfiguration>

$resolveDebugConfigurations

  • $resolveDebugConfigurations(debugConfiguration: DebugConfiguration, workspaceFolderUri: undefined | string): Promise<undefined | DebugConfiguration>

$sessionDidChange

  • $sessionDidChange(sessionId: undefined | string): Promise<void>

$sessionDidCreate

  • $sessionDidCreate(sessionId: string): Promise<void>

$sessionDidDestroy

  • $sessionDidDestroy(sessionId: string): Promise<void>

$terminateDebugSession

  • $terminateDebugSession(sessionId: string): Promise<void>

addBreakpoints

  • addBreakpoints(breakpoints: Breakpoint[]): void

assistedInject

Protected createCommunicationProvider

  • createCommunicationProvider(session: DebugSession, debugConfiguration: DebugConfiguration): Promise<CommunicationProvider>

Protected createDebugAdapterTracker

  • createDebugAdapterTracker(session: DebugSession): Promise<DebugAdapterTracker>

doGetTerminalCreationOptions

  • doGetTerminalCreationOptions(debugType: string): Promise<undefined | TerminalOptionsExt>

registerDebugAdapterDescriptorFactory

  • registerDebugAdapterDescriptorFactory(debugType: string, factory: DebugAdapterDescriptorFactory): Disposable

registerDebugAdapterTrackerFactory

  • registerDebugAdapterTrackerFactory(debugType: string, factory: DebugAdapterTrackerFactory): Disposable

registerDebugConfigurationProvider

  • registerDebugConfigurationProvider(debugType: string, provider: DebugConfigurationProvider, trigger: DebugConfigurationProviderTriggerKind): Disposable

registerDebuggersContributions

removeBreakpoints

  • removeBreakpoints(breakpoints: Breakpoint[]): void

Protected resolveDebugAdapterExecutable

  • resolveDebugAdapterExecutable(debugConfiguration: DebugConfiguration): Promise<undefined | DebugAdapterExecutable>

startDebugging

  • startDebugging(folder: undefined | WorkspaceFolder, nameOrConfiguration: string | DebugConfiguration, options: DebugSessionOptions): PromiseLike<boolean>

Protected toBreakpointExt

Private toWorkspaceFolder

  • toWorkspaceFolder(folder: undefined | string): undefined | WorkspaceFolder