Debugging ios re-direct