evals
scenario-1
scenario-10
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
A small extension that exposes minimal debugging controls for the active Jupyter document using the integrated debugger UI.
export type StepAction = 'into' | 'over' | 'out';
export interface StackFrame {
id: string;
sourcePath: string;
line: number;
functionName?: string;
}
export interface VariablePreview {
name: string;
type: string;
repr: string;
}
export interface BreakpointState {
active: boolean;
total: number;
}
export interface DebuggerControls {
activate(sessionPath: string): Promise<void>;
toggleBreakpoint(sourcePath: string, line: number): Promise<BreakpointState>;
step(action: StepAction): Promise<StackFrame[]>;
inspect(variableName: string): Promise<VariablePreview | null>;
dispose(): void;
}Provides the debugger service and UI plumbing needed to manage breakpoints, stepping, and variable inspection within Jupyter documents.