Added debug logging for our gem