Add dynamic debug prints for send and receive