import { TaskIdentifier } from '@theia/task/lib/common'; /** * Configuration for a debug adapter session. */ export interface DebugConfiguration { /** * The type of the debug adapter session. */ type: string; /** * The name of the debug adapter session. */ name: string; /** * Additional debug type specific properties. */ [key: string]: any; parentSessionId?: string; lifecycleManagedByParent?: boolean; consoleMode?: DebugConsoleMode; compact?: boolean; /** * The request type of the debug adapter session. */ request: string; /** * If noDebug is true the launch request should launch the program without enabling debugging. */ noDebug?: boolean; /** * Optional data from the previous, restarted session. * The data is sent as the 'restart' attribute of the 'terminated' event. * The client should leave the data intact. */ __restart?: boolean; /** default: neverOpen */ openDebug?: 'neverOpen' | 'openOnSessionStart' | 'openOnFirstSessionStart' | 'openOnDebugBreak'; /** default: neverOpen */ internalConsoleOptions?: 'neverOpen' | 'openOnSessionStart' | 'openOnFirstSessionStart'; /** Task to run before debug session starts */ preLaunchTask?: string | TaskIdentifier; /** Task to run after debug session ends */ postDebugTask?: string | TaskIdentifier; /** * When true, a save will not be triggered for open editors when starting a debug session, * regardless of the value of the `debug.saveBeforeStart` setting. */ suppressSaveBeforeStart?: boolean; /** When true, the window statusbar color will not be changed for this session. */ suppressDebugStatusbar?: boolean; /** When true, the debug viewlet will not be automatically revealed for this session. */ suppressDebugView?: boolean; /** Disable the warning when trying to start the same debug configuration more than once. */ suppressMultipleSessionWarning?: boolean; } export declare namespace DebugConfiguration { function is(arg: unknown): arg is DebugConfiguration; } export interface DebugSessionOptions { lifecycleManagedByParent?: boolean; parentSessionId?: string; consoleMode?: DebugConsoleMode; noDebug?: boolean; compact?: boolean; suppressSaveBeforeStart?: boolean; suppressDebugStatusbar?: boolean; suppressDebugView?: boolean; testRun?: { controllerId: string; runId: string; }; } export declare enum DebugConsoleMode { Separate = 0, MergeWithParent = 1 } //# sourceMappingURL=debug-configuration.d.ts.map