Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface DebugSession

A debug session.

Hierarchy

  • DebugSession

Index

Properties

configuration: DebugConfiguration

The "resolved" debug configuration of this session.

id: string

The unique ID of this debug session.

name: string

The debug session's name from the debug configuration.

parentSession?: DebugSession

The parent session of this debug session, if it was created as a child.

see

DebugSessionOptions.parentSession

type: string

The debug session's type from the debug configuration.

workspaceFolder: undefined | WorkspaceFolder

The workspace folder of this session or undefined for a folderless setup.

Methods

  • customRequest(command: string, args?: any): Thenable<any>
  • Maps a breakpoint in the editor to the corresponding Debug Adapter Protocol (DAP) breakpoint that is managed by the debug adapter of the debug session. If no DAP breakpoint exists (either because the editor breakpoint was not yet registered or because the debug adapter is not interested in the breakpoint), the value undefined is returned.

    Parameters

    • breakpoint: Breakpoint

      a Breakpoint in the editor.

    Returns PromiseLike<undefined | DebugProtocolBreakpoint>