Documentation
¶
Overview ¶
Package debugrepl provides an interactive CLI debug REPL built on top of the extensible repl.RunEnv function and the debugger engine.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Option ¶
type Option func(*debugHandler)
Option configures the debug REPL.
func WithStderr ¶
WithStderr sets the writer for debug output (prompts, status, etc.).
func WithStdin ¶
func WithStdin(r io.ReadCloser) Option
WithStdin sets the reader for REPL input. This is primarily useful for testing, where a pipe replaces the terminal.
Click to show internal directories.
Click to hide internal directories.