How To Debug Ios App In Mac Safari
And enable javascript if it isn t already on.
How to debug ios app in mac safari. Use web inspector to debug mobile safari 1. On your ipad iphone or ipod touch tap settings safari advanced and toggle on web inspector. Click that url and it will open a new safari window with the full safari dev tools.
On your mac open safari and go to safari preferences advanced then check show develop menu in menu bar. Simply copy paste the following command again in the terminal. On your mac restart safari.
On your ios device open the web site that you want to debug. On your ipad iphone or ipod go to settings safari advanced and toggle on web inspector. Safari remote debugging on ios devices similar to the first scenario once the user is signed in the live dashboard will be displayed.
This is an optional step in case you wish to disable debug menu. Select the ios platform and choose the desired iphone or ipad. Hover over the desired iphone or ipad.
You can now launch safari and you ll see a new menu debug listed. Now hit enter to execute the command. In that sub menu you should see the url of the website you want to debug.