ipad register debug