Options
All
  • Public
  • Public/Protected
  • All
Menu

Class PluginDebugSessionFactory

Session factory for a client debug session that communicates with debug adapter contributed as plugin. The main difference is to use a connection factory that creates Channel over Rpc channel.

Hierarchy

  • DefaultDebugSessionFactory
    • PluginDebugSessionFactory

Index

Constructors

  • new PluginDebugSessionFactory(terminalService: TerminalService, editorManager: EditorManager, breakpoints: BreakpointManager, labelProvider: LabelProvider, messages: MessageClient, outputChannelManager: OutputChannelManager, debugPreferences: DebugPreferences, connectionFactory: ((sessionId: string) => Promise<PluginChannel>), fileService: FileService, terminalOptionsExt: undefined | TerminalOptionsExt, debugContributionProvider: ContributionProvider<DebugContribution>, workspaceService: WorkspaceService): PluginDebugSessionFactory

Properties

breakpoints: BreakpointManager
connectionFactory: ((sessionId: string) => Promise<PluginChannel>)

Type declaration

debugContributionProvider: ContributionProvider<DebugContribution>
debugPreferences: DebugPreferences
editorManager: EditorManager
fileService: FileService
labelProvider: LabelProvider
messages: MessageClient
outputChannelManager: OutputChannelManager
terminalOptionsExt: undefined | TerminalOptionsExt
terminalService: TerminalService
workspaceService: WorkspaceService

Methods

  • get(sessionId: string, options: DebugConfigurationSessionOptions, parentSession?: DebugSession): DebugSession