UNPKG

@debugmcp/mcp-debugger

Version:

Run-time step-through debugging for LLM agents.

32 lines (31 loc) 965 B
/** * Python Adapter Factory * * Factory for creating Python debug adapter instances. * Implements the adapter factory interface for dependency injection. * * @since 2.0.0 */ import { IDebugAdapter } from '../debug-adapter-interface.js'; import { IAdapterFactory, AdapterDependencies, AdapterMetadata, FactoryValidationResult } from '../adapter-registry-interface.js'; /** * Factory for creating Python debug adapters */ export declare class PythonAdapterFactory implements IAdapterFactory { /** * Create a new Python debug adapter instance */ createAdapter(dependencies: AdapterDependencies): IDebugAdapter; /** * Get metadata about the Python adapter */ getMetadata(): AdapterMetadata; /** * Validate that the factory can create adapters in current environment */ validate(): Promise<FactoryValidationResult>; /** * Check if debugpy is installed */ private checkDebugpyInstalled; }