On your Mac’s Safari Web Inspector window, fire up the debugger tab, check off the Breakpoint for All Exceptions.On your Mac, in Safari, go to Develop > iPhone > This will open a Safari Web Inspector window on your Mac.On your iPhone, open up the website you want to debug in our case,. NOTE: The following instructions describe working with an iPhone, but they work just as well with an iPad or iPod. Once connected to your iOS device from your Mac, you can easily debug your web site just as you would if you were testing a web site locally. NOTE: If you do not have any web page open on your iOS device, you will see a message saying “No Inspectable Applications”. You will now see the iOS device you connected to your Mac. On your Mac, open Safari and go to the Develop menu.On your iOS device, open the web site that you want to debug.Connect your iOS device to your Mac with the USB cable.On your Mac, open Safari and go to Safari > Preferences > Advanced then check Show Develop menu in menu bar.On your iPad, iPhone or iPod, go to Settings > Safari > Advanced and toggle on Web Inspector.On recent versions of iOS (v6 and up), Apple offers a remote debugger for your iPhone, iPod or iPad’s Safari web browser. This post describes how to set one up, connected to your phone so you can figure out what went wrong. When we were testing our implementation of Apple Pay on our iPhones, we found a few issues where we needed a proper debugger.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |