in reply to Re^2: I usually debug via...
in thread I usually debug via...

Then I guess print combined with Data::Dumper is my tool of choice :-)