print data to stdout when in debug mode