in reply to I usually debug via...

I generally use print to debug my code. I found this style very helpful:

print STDERR __PACKAGE__ . ":" . __FILE__ . "-" . __LINE__ ;