UNPKG

890 BTypeScriptView Raw
1/// <reference types="node" />
2import { DebugProtocol } from 'vscode-debugprotocol';
3import { DebugSession } from './debugSession';
4export declare class LoggingDebugSession extends DebugSession {
5 private obsolete_logFilePath?;
6 constructor(obsolete_logFilePath?: string, obsolete_debuggerLinesAndColumnsStartAt1?: boolean, obsolete_isServer?: boolean);
7 start(inStream: NodeJS.ReadableStream, outStream: NodeJS.WritableStream): void;
8 /**
9 * Overload sendEvent to log
10 */
11 sendEvent(event: DebugProtocol.Event): void;
12 /**
13 * Overload sendRequest to log
14 */
15 sendRequest(command: string, args: any, timeout: number, cb: (response: DebugProtocol.Response) => void): void;
16 /**
17 * Overload sendResponse to log
18 */
19 sendResponse(response: DebugProtocol.Response): void;
20 protected dispatchRequest(request: DebugProtocol.Request): void;
21}