interface DebugExt { $breakpointsDidChange(added,
removed,
changed): void; $createDebugSession(debugConfiguration,
workspaceFolder): Promise<string>; $getTerminalCreationOptions(debugType): Promise<undefined | TerminalOptionsExt>; $onDidChangeActiveFrame(frame): void; $onDidChangeActiveThread(thread): void; $onSessionCustomEvent(sessionId,
event,
body?): void; $provideDebugConfigurationsByHandle(handle,
workspaceFolder): Promise<DebugConfiguration[]>; $resolveDebugConfigurationByHandle(handle,
workspaceFolder,
debugConfiguration): Promise<undefined | null | DebugConfiguration>; $resolveDebugConfigurationWithSubstitutedVariablesByHandle(handle,
workspaceFolder,
debugConfiguration): Promise<undefined | null | DebugConfiguration>; $sessionDidChange(sessionId): void; $sessionDidCreate(sessionId): void; $sessionDidDestroy(sessionId): void; $sessionDidStart(sessionId): void; $terminateDebugSession(sessionId): Promise<void>; } Methods
$breakpointsDidChange
- $breakpointsDidChange(added, removed, changed): void
Returns void
$createDebugSession
- $createDebugSession(debugConfiguration, workspaceFolder): Promise<string>
Parameters
- debugConfiguration: DebugConfiguration
- workspaceFolder: undefined | string
Returns Promise<string>
$getTerminalCreationOptions
$onDidChangeActiveFrame
- $onDidChangeActiveFrame(frame): void
Returns void
$onDidChangeActiveThread
- $onDidChangeActiveThread(thread): void
Returns void
$onSessionCustomEvent
- $onSessionCustomEvent(sessionId, event, body?): void
Parameters
- sessionId: string
- event: string
Optional
body: any
Returns void
$provideDebugConfigurationsByHandle
- $provideDebugConfigurationsByHandle(handle, workspaceFolder): Promise<DebugConfiguration[]>
Parameters
- handle: number
- workspaceFolder: undefined | string
$resolveDebugConfigurationByHandle
- $resolveDebugConfigurationByHandle(handle, workspaceFolder, debugConfiguration): Promise<undefined | null | DebugConfiguration>
$resolveDebugConfigurationWithSubstitutedVariablesByHandle
- $resolveDebugConfigurationWithSubstitutedVariablesByHandle(handle, workspaceFolder, debugConfiguration): Promise<undefined | null | DebugConfiguration>
Parameters
- handle: number
- workspaceFolder: undefined | string
- debugConfiguration: DebugConfiguration
$sessionDidChange
- $sessionDidChange(sessionId): void
Parameters
- sessionId: undefined | string
Returns void
$sessionDidCreate
- $sessionDidCreate(sessionId): void
Returns void
$sessionDidDestroy
- $sessionDidDestroy(sessionId): void
Returns void
$sessionDidStart
- $sessionDidStart(sessionId): void
Returns void
$terminateDebugSession
- $terminateDebugSession(sessionId): Promise<void>
Returns Promise<void>