print sent data when debug is enabled