in reply to Re^2: debug statements
in thread debug statements

not without resorting to extreme nastiness. you could try Data::Dumper::Names to make your life a little easier (?)...
use Data::Dumper::Names; debug( Dumper($variable) );
note the CAVEATS in the Data::Dumper::Names documentation!