Debugging the iOS Cordova application using Safari Web Inspector
Debugging iOS Cordova can be done just like debugging a normal web application. We can catch network activities, inspect elements, and see the console logging.
To start debugging a iOS Cordova application, follow these steps:
- Open and run the
HelloWorld project created before using Xcode.
- While the application is running on the simulator, open Safari. Go to Develop | iOS Simulator | index.html, as shown in the following screenshot:
- We can inspect the element and check out Local Storage and Session Storage by choosing the Resources tab, as follows:
- We can see the network activities ...