Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • DebugExtImpl

Implements

Index

Constructors

Properties

_breakpoints: Map<string, Breakpoint> = ...
activeDebugConsole: DebugConsole
activeDebugSession: undefined | DebugSession
backendAdapterCreator: NodeDebugAdapterCreator = ...
commandRegistryExt: CommandRegistryImpl
configurationProviderHandleGenerator: number
configurationProviders: ConfigurationProviderRecord[]
connectionExt: ConnectionImpl
contributionPaths: Map<string, string> = ...
contributionTypes: Map<string, PluginType> = ...
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.

descriptorFactories: Map<string, DebugAdapterDescriptorFactory> = ...
frontendAdapterCreator: PluginDebugAdapterCreator = ...
onDidChangeActiveDebugSessionEmitter: Emitter<undefined | DebugSession> = ...
onDidChangeBreakpointsEmitter: Emitter<BreakpointsChangeEvent> = ...
onDidCreateDebugSessionEmitter: Emitter<DebugSession> = ...
onDidReceiveDebugSessionCustomEmitter: Emitter<DebugSessionCustomEvent> = ...
onDidStartDebugSessionEmitter: Emitter<DebugSession> = ...
onDidTerminateDebugSessionEmitter: Emitter<DebugSession> = ...
proxy: DebugMain
sessions: Map<string, PluginDebugAdapterSession> = ...
trackerFactories: [string, DebugAdapterTrackerFactory][] = []

Accessors

  • get breakpoints(): Breakpoint[]
  • get onDidChangeActiveDebugSession(): Event<undefined | DebugSession>
  • get onDidChangeBreakpoints(): Event<BreakpointsChangeEvent>
  • get onDidCreateDebugSession(): Event<DebugSession>
  • get onDidReceiveDebugSessionCustomEvent(): Event<DebugSessionCustomEvent>
  • get onDidStartDebugSession(): Event<DebugSession>
  • get onDidTerminateDebugSession(): Event<DebugSession>

Methods

  • $createDebugSession(debugConfiguration: DebugConfiguration, workspaceFolderUri: undefined | string): Promise<string>
  • $onSessionCustomEvent(sessionId: string, event: string, body?: any): Promise<void>
  • $provideDebugConfigurationsByHandle(handle: number, workspaceFolderUri: undefined | string): Promise<DebugConfiguration[]>
  • $resolveDebugConfigurationByHandle(handle: number, workspaceFolderUri: undefined | string, debugConfiguration: DebugConfiguration): Promise<undefined | null | DebugConfiguration>
  • $resolveDebugConfigurationWithSubstitutedVariablesByHandle(handle: number, workspaceFolderUri: undefined | string, debugConfiguration: DebugConfiguration): Promise<undefined | null | DebugConfiguration>
  • $sessionDidChange(sessionId: undefined | string): Promise<void>
  • $sessionDidCreate(sessionId: string): Promise<void>
  • $sessionDidDestroy(sessionId: string): Promise<void>
  • $sessionDidStart(sessionId: string): Promise<void>
  • $terminateDebugSession(sessionId: string): Promise<void>
  • addBreakpoints(breakpoints: readonly Breakpoint[]): void
  • asDebugSourceUri(source: DebugProtocolSource, session?: DebugSession): Uri
  • createDebugAdapter(session: DebugSession, debugConfiguration: DebugConfiguration): Promise<DebugAdapter>
  • createDebugAdapterTracker(session: DebugSession): Promise<DebugAdapterTracker>
  • getConfigurationProviderRecord(handle: number): { provider: DebugConfigurationProvider; type: string }
  • getDebugSourceUri(raw: Source, sessionId?: string): Uri
  • registerDebugAdapterDescriptorFactory(debugType: string, factory: DebugAdapterDescriptorFactory): Disposable
  • registerDebugAdapterTrackerFactory(debugType: string, factory: DebugAdapterTrackerFactory): Disposable
  • removeBreakpoints(breakpoints: readonly Breakpoint[]): void
  • resolveDebugAdapterExecutable(debugConfiguration: DebugConfiguration): Promise<undefined | DebugAdapterExecutable>
  • startDebugging(folder: undefined | WorkspaceFolder, nameOrConfiguration: string | DebugConfiguration, options: DebugSessionOptions): PromiseLike<boolean>
  • stopDebugging(session?: DebugSession): PromiseLike<void>
  • toWorkspaceFolder(folder: undefined | string): undefined | WorkspaceFolder