You can add $DB::single = 1 where you have "debug here". Then run the debugger and it will stop at that line.
On Tue, Jun 23, 2009 at 4:52 AM, Rolf Schaufelberger <[email protected]> wrote: > Hi, > > how can I debug a method in role that is called 'before' or 'after' > another method ? > > ... after 'calc' => sub { > ... > debug here > ... > }; > > > regards > > Rolf Schaufelberger > > > > > >
