Added debug messages for uart