UNPKG

@debugmcp/mcp-debugger

Version:

Run-time step-through debugging for LLM agents.

22 lines (21 loc) 712 B
import { EventEmitter } from 'events'; import { DebugProtocol } from '@vscode/debugprotocol'; export declare class MinimalDapClient extends EventEmitter { private socket; private buffer; private seq; private pendingRequests; private host; private port; private isDisconnectingOrDisconnected; constructor(host: string, port: number); connect(): Promise<void>; private handleData; sendRequest<T extends DebugProtocol.Response>(command: string, args?: any): Promise<T>; disconnect(): void; /** * Shutdown the DAP client, rejecting all pending requests and disposing resources. * This method is idempotent. */ shutdown(reason?: string): void; }