remote debug code for testing ipad1