From the course: JavaScript: Progressive Web Applications

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Debugging with Safari and the iOS Simulator

Debugging with Safari and the iOS Simulator - JavaScript Tutorial

From the course: JavaScript: Progressive Web Applications

Start my 1-month free trial

Debugging with Safari and the iOS Simulator

- [Instructor] Remember when I told you we weren't quite done with the iOS simulator? Well now's the time to see what we can do about debugging our PWA for iOS devices. Run your project from NetBeans if it isn't already running. You'll know it's running in NetBeans because the local host will be the mechanism that fires up the PWA, then, fire up the simulator if it isn't already running. So I'm gonna start that from the dock. Here's my iPhone simulator. Let's let that boot up. From the hardware menu, choose erase all content and settings. This will ensure that we have a new instance to look at the PWA. Once the simulator's up and running, start Safari. Let me drag this over a little bit, because next to it I'm gonna start an instance of Safari on the Desktop. And I'm just going to resize it so I can see both windows at the same time. If necessary, let's enable the develop menu in Safari in the Desktop, by choosing to show the menu from the advanced tab in Safari's preferences pane. So…

Contents