browser-connect-mcp
Version:
MCP server for browser DevTools and backend debugging - analyze console logs, network requests, and backend logs with AI assistance
29 lines • 1.58 kB
TypeScript
import { z } from 'zod';
export declare const BackendDebuggerAttachArgsSchema: z.ZodObject<{
host: z.ZodDefault<z.ZodString>;
port: z.ZodNumber;
processId: z.ZodOptional<z.ZodString>;
type: z.ZodDefault<z.ZodEnum<["node", "deno", "chrome"]>>;
}, "strip", z.ZodTypeAny, {
host: string;
port: number;
type: "node" | "deno" | "chrome";
processId?: string | undefined;
}, {
port: number;
host?: string | undefined;
type?: "node" | "deno" | "chrome" | undefined;
processId?: string | undefined;
}>;
export type BackendDebuggerAttachArgs = z.infer<typeof BackendDebuggerAttachArgsSchema>;
export declare function backendDebuggerAttach(args: BackendDebuggerAttachArgs): Promise<any>;
export declare function setBreakpoint(debuggerKey: string, url: string, lineNumber: number, condition?: string): Promise<any>;
export declare function removeBreakpoint(debuggerKey: string, breakpointId: string): Promise<any>;
export declare function stepOver(debuggerKey: string): Promise<any>;
export declare function stepInto(debuggerKey: string): Promise<any>;
export declare function stepOut(debuggerKey: string): Promise<any>;
export declare function resume(debuggerKey: string): Promise<any>;
export declare function evaluateExpression(debuggerKey: string, expression: string, callFrameId?: string): Promise<any>;
export declare function getCallStack(debuggerKey: string): Promise<any>;
export declare function getVariables(debuggerKey: string, callFrameId: string, scopeIndex: number): Promise<any>;
//# sourceMappingURL=debugger-attach.d.ts.map