Options
All
  • Public
  • Public/Protected
  • All
Menu

Module debug

Index

References

Namespaces

Enumerations

Classes

Interfaces

Type Aliases

Variables

Functions

References

Re-exports DebugConfiguration
Re-exports DebugConsoleMode
Re-exports DebugSessionOptions

Type Aliases

Debug adapter executable. Parameters to instantiate the debug adapter.

In case of launching adapter the parameters contain a command and arguments. For instance: {'command' : 'COMMAND_TO_LAUNCH_DEBUG_ADAPTER', args : [ { 'arg1', 'arg2' } ] }

In case of forking the node process, contain the modulePath to fork. For instance: {'modulePath' : 'NODE_COMMAND_TO_LAUNCH_DEBUG_ADAPTER', args : [ { 'arg1', 'arg2' } ] }

DebugCallStackItemTypeKey: ContextKey<"session" | "thread" | "stackFrame">
DebugConsoleSessionFactory: ((debugSession: DebugSession) => DebugConsoleSession)

Type declaration

DebugEditor: MonacoEditor
DebugEditorModelFactory: ((editor: DebugEditor) => DebugEditorModel)

Type declaration

DebugEventNames: keyof DebugEventTypes
DebugPreferences: PreferenceProxy<DebugConfiguration>
DebugRequestHandler: ((request: DebugProtocol.Request) => MaybePromise<any>)

Type declaration

    • (request: DebugProtocol.Request): MaybePromise<any>
    • Parameters

      • request: DebugProtocol.Request

      Returns MaybePromise<any>

Flat and partial version of a debug session options usable to find the options later in the manager.

deprecated

Not needed anymore, the recommended way is to serialize/deserialize the options directly using JSON.stringify and JSON.parse.

DebugSessionProvider: (() => DebugSession | undefined)

Type declaration

DynamicDebugConfigurationSessionOptions: DebugConfigurationSessionOptions & { providerType: string }
FunctionBreakpointsChangeEvent: BreakpointsChangeEvent<FunctionBreakpoint>
InDebugReplContextKey: ContextKey<boolean>
InstructionBreakpointsChangeEvent: BreakpointsChangeEvent<InstructionBreakpoint>
InternalDebugSessionOptions: DebugSessionOptions & { id: number }
ShowDebugBreakpointOptions: DebugSourceBreakpoint | { context: DebugBreakpointWidget.Context; position: monaco.Position } | { breakpoint: DebugSourceBreakpoint; context: DebugBreakpointWidget.Context }
SourceBreakpointsChangeEvent: BreakpointsChangeEvent<SourceBreakpoint>
StoppedDetails: DebugProtocol.StoppedEvent["body"] & { framesErrorMessage?: string; totalFrames?: number }

Variables

BREAKPOINT_KIND: "breakpoint" = 'breakpoint'
DEBUG_SCHEME: "debug" = 'debug'

The URI scheme for debug URIs.

DEBUG_VIEW_CONTAINER_TITLE_OPTIONS: ViewContainerTitleOptions = ...
DISASSEMBLE_REQUEST_SUPPORTED: "disassembleRequestSupported" = 'disassembleRequestSupported'
DISASSEMBLY_VIEW_FOCUS: "disassemblyViewFocus" = 'disassemblyViewFocus'
DebugAdapterContribution: typeof DebugAdapterContribution = ...

DebugAdapterContribution symbol for DI.

DebugAdapterFactory: typeof DebugAdapterFactory = ...

DebugAdapterFactory symbol for DI.

DebugAdapterPath: "/services/debug-adapter" = '/services/debug-adapter'

The endpoint path to the debug adapter session.

DebugAdapterSession: typeof DebugAdapterSession = ...

DebugAdapterSession symbol for DI.

DebugAdapterSessionFactory: typeof DebugAdapterSessionFactory = ...

DebugAdapterSessionFactory symbol for DI.

DebugCallStackItemTypeKey: typeof DebugCallStackItemTypeKey = ...
DebugConsoleSessionFactory: typeof DebugConsoleSessionFactory = ...
DebugContribution: typeof DebugContribution = ...
DebugEditor: typeof DebugEditor = ...
DebugEditorModelFactory: typeof DebugEditorModelFactory = ...
DebugPath: "/services/debug" = '/services/debug'

The WS endpoint path to the Debug service.

DebugPreferenceContribution: typeof DebugPreferenceContribution = ...
DebugPreferences: typeof DebugPreferences = ...
DebugService: typeof DebugService = ...

DebugService symbol for DI.

DebugSessionContribution: typeof DebugSessionContribution = ...

DebugSessionContribution symbol for DI.

DebugSessionContributionRegistry: typeof DebugSessionContributionRegistry = ...

DebugSessionContributionRegistry symbol for DI.

DebugSessionFactory: typeof DebugSessionFactory = ...

DebugSessionFactory symbol for DI.

FOCUSED_STACK_FRAME_HAS_INSTRUCTION_REFERENCE: "focusedStackFrameHasInstructionReference" = 'focusedStackFrameHasInstructionReference'
INLINE_VALUE_DECORATION_KEY: "inlinevaluedecoration" = 'inlinevaluedecoration'
InDebugReplContextKey: typeof InDebugReplContextKey
LANGUAGE_SUPPORTS_DISASSEMBLE_REQUEST: "languageSupportsDisassembleRequest" = 'languageSupportsDisassembleRequest'
OPEN_DISASSEMBLY_VIEW_COMMAND: Command = ...
SCHEME_PATTERN: RegExp = ...

The pattern for URI schemes.

debugPreferencesSchema: PreferenceSchema = ...
default: ContainerModule
default: ContainerModule
defaultCompound: DebugCompound = ...
launchPreferencesSchema: PreferenceSchema = ...
launchSchemaId: "vscode://schemas/launch" = 'vscode://schemas/launch'

Functions

  • bindDebugPreferences(bind: Bind): void
  • bindDisassemblyView(bind: Bind): void
  • bindLaunchPreferences(bind: Bind): void
  • createDebugHoverWidgetContainer(parent: Container, editor: MonacoEditor): Container
  • createDebugPreferences(preferences: PreferenceService, schema?: PreferenceSchema): DebugPreferences
  • getUriFromSource(raw: Source, path: undefined | string, sessionId: string, uriIdentityService: { asCanonicalUri: any }): URI