only print data if debug var is true