Debug a Hybrid App Running on an iOS Device
To debug hybrid apps on real or simulated iOS devices,
use Safari on the desktop and the device.
-
Open Safari on the desktop.
-
Select .
-
Click the Advanced tab.
-
-
If you’re using the iOS simulator:
- In the system task bar, press CONTROL and click the Xcode icon, then
select .
- Or, in a Terminal window, type open -a
Simulator.app.
-
In the iOS Simulator menu, select .
-
Select a device.
-
Open Safari from the home screen of the device or iOS
Simulator.
-
Navigate to the location of your web app.
-
In Safari on your desktop, select , and then select the URL that you opened in Safari on the
device or simulator.
The Web Inspector window opens and attaches
itself to the running Safari instance on your device.