turn on error reporting for debugging ios