Added console debug line when using sendMessage()

Useful to be able to see what is being sent and comparing to what is received back from the device