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 IWebSocket over Rpc channel.

Hierarchy

  • DefaultDebugSessionFactory
    • PluginDebugSessionFactory

Index

Constructors

constructor

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

    • terminalService: TerminalService
    • editorManager: EditorManager
    • breakpoints: BreakpointManager
    • labelProvider: LabelProvider
    • messages: MessageClient
    • outputChannelManager: OutputChannelManager
    • debugPreferences: PreferenceProxy<DebugConfiguration>
    • connectionFactory: (sessionId: string) => Promise<IWebSocket>
        • (sessionId: string): Promise<IWebSocket>
        • Parameters

          • sessionId: string

          Returns Promise<IWebSocket>

    • fileService: FileService
    • terminalOptionsExt: undefined | TerminalOptionsExt
    • debugContributionProvider: ContributionProvider<DebugContribution>

    Returns PluginDebugSessionFactory

Properties

Protected Readonly breakpoints

breakpoints: BreakpointManager

Protected Readonly connectionFactory

connectionFactory: (sessionId: string) => Promise<IWebSocket>

Type declaration

    • (sessionId: string): Promise<IWebSocket>
    • Parameters

      • sessionId: string

      Returns Promise<IWebSocket>

Protected Readonly connectionProvider

connectionProvider: WebSocketConnectionProvider

Protected Readonly debugContributionProvider

debugContributionProvider: ContributionProvider<DebugContribution>

Protected Readonly debugPreferences

debugPreferences: PreferenceProxy<DebugConfiguration>

Protected Readonly editorManager

editorManager: EditorManager

Protected Readonly fileService

fileService: FileService

Protected Readonly labelProvider

labelProvider: LabelProvider

Protected Readonly messages

messages: MessageClient

Protected Readonly outputChannelManager

outputChannelManager: OutputChannelManager

Protected Readonly terminalOptionsExt

terminalOptionsExt: undefined | TerminalOptionsExt

Protected Readonly terminalService

terminalService: TerminalService

Methods

get

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

Protected getTraceOutputChannel

  • getTraceOutputChannel(): undefined | OutputChannel
  • Returns undefined | OutputChannel