add in/out bytes debug info
add resend debug info