Options
All
  • Public
  • Public/Protected
  • All
Menu

Class PluginDebugAdapterSession

Server debug adapter session.

Hierarchy

  • DebugAdapterSessionImpl
    • PluginDebugAdapterSession

Implements

  • DebugSession
  • DebugAdapterSession

Index

Constructors

constructor

  • new PluginDebugAdapterSession(communicationProvider: CommunicationProvider, tracker: DebugAdapterTracker, theiaSession: DebugSession): PluginDebugAdapterSession

Properties

Readonly communicationProvider

communicationProvider: CommunicationProvider

Readonly configuration

configuration: DebugConfiguration

Readonly id

id: string

Readonly name

name: string

Protected Readonly theiaSession

theiaSession: DebugSession

Protected Readonly tracker

tracker: DebugAdapterTracker

Readonly type

type: string

Methods

customRequest

  • customRequest(command: string, args?: any): Promise<any>

Protected onDebugAdapterError

  • onDebugAdapterError(error: Error): void

Protected onDebugAdapterExit

  • onDebugAdapterExit(exitCode: number, signal: undefined | string): void

Protected send

  • send(message: string): void

start

  • start(channel: IWebSocket): Promise<void>

stop

  • stop(): Promise<void>

Protected write

  • write(message: string): void