print response in debug mode