Add debugging for incoming data