lass="emdef">debug-port</em>, and
<em class="emdef">debug-repl</em>.  debug-port is the debugger's
output port, debug-repl drops into a repl at a breakpoint, and debug-function
provides a way to customize the debugger's behavior.
The function <em class="emdef">debug-frame</em> provides a way to examine local variables.
</p>

<pre class="indented">
&gt; (define (g1 x) (+ x 1))
<em class="gray">g1</em>
&gt; (trace g1)   ; this loads debug.scm unless it's already loaded, and sets (*s7* 'debug) to 1
<em class="