Methods
$createDebugSession
- $createDebugSession(debugConfiguration: DebugConfiguration, workspaceFolder: undefined | string): Promise<string>
Parameters
debugConfiguration: DebugConfiguration
workspaceFolder: undefined | string
Returns Promise<string>
$getTerminalCreationOptions
$onSessionCustomEvent
- $onSessionCustomEvent(sessionId: string, event: string, body?: any): void
Parameters
sessionId: string
event: string
Optional body: any
Returns void
$provideDebugConfigurationsByHandle
- $provideDebugConfigurationsByHandle(handle: number, workspaceFolder: undefined | string): Promise<DebugConfiguration[]>
Parameters
handle: number
workspaceFolder: undefined | string
Returns Promise<DebugConfiguration[]>
$resolveDebugConfigurationByHandle
- $resolveDebugConfigurationByHandle(handle: number, workspaceFolder: undefined | string, debugConfiguration: DebugConfiguration): Promise<undefined | null | DebugConfiguration>
Parameters
handle: number
workspaceFolder: undefined | string
debugConfiguration: DebugConfiguration
Returns Promise<undefined | null | DebugConfiguration>
$resolveDebugConfigurationWithSubstitutedVariablesByHandle
- $resolveDebugConfigurationWithSubstitutedVariablesByHandle(handle: number, workspaceFolder: undefined | string, debugConfiguration: DebugConfiguration): Promise<undefined | null | DebugConfiguration>
Parameters
handle: number
workspaceFolder: undefined | string
debugConfiguration: DebugConfiguration
Returns Promise<undefined | null | DebugConfiguration>
$sessionDidChange
- $sessionDidChange(sessionId: undefined | string): void
Parameters
sessionId: undefined | string
Returns void
$sessionDidCreate
- $sessionDidCreate(sessionId: string): void
$sessionDidDestroy
- $sessionDidDestroy(sessionId: string): void
$sessionDidStart
- $sessionDidStart(sessionId: string): void
$terminateDebugSession
- $terminateDebugSession(sessionId: string): Promise<void>
Parameters
Returns Promise<void>