sub foo { ... DB::break(); # force a call to the debugger here ... }