@debugmcp/mcp-debugger
Version:
Run-time step-through debugging for LLM agents.
23 lines (22 loc) • 914 B
TypeScript
import { CommandFinder } from '../interfaces/command-finder.js';
interface Logger {
error: (message: string) => void;
debug?: (message: string) => void;
}
/**
* Set the default command finder (useful for testing)
* @param finder The CommandFinder to use as default
*/
export declare function setDefaultCommandFinder(finder: CommandFinder): void;
/**
* Find a working Python executable
* @param preferredPath Optional preferred Python path to check first
* @param logger Optional logger instance for logging detection info
* @param commandFinder Optional CommandFinder instance (defaults to WhichCommandFinder)
*/
export declare function findPythonExecutable(preferredPath?: string, logger?: Logger, commandFinder?: CommandFinder): Promise<string>;
/**
* Get Python version for a given executable
*/
export declare function getPythonVersion(pythonPath: string): Promise<string | null>;
export {};