Printing debug data when sending a request