![iphone safari inspector emulator mac iphone safari inspector emulator mac](http://phonegap-tips.com/img/disable_ios_private_browsing.png)
On your iOS device, go to Settings, and tap on Safari. This is done by checking the “Show Develop menu in menu bar” within the Advanced section of Safari’s preferences. Safari on iOSįirst, make sure the Develop menu is turned on for your desktop Safari.
Iphone safari inspector emulator mac android#
Once you click Inspect, a new Dev Tools window will open that will allow you to use any of its developer tools there on the page loaded on the remote device.Ĭheck out Google’s Getting Started with Remote Debugging Android Devices for more information. Here, you can enter a new URL to open on the remote device, or you can click on ‘Inspect’ if the tab is already open. If you select it, you’ll see the tabs that are currently open on the remote device. Under the Remote Devices tab in Dev Tools, you’ll now see your device name listed under Devices. If this is the first time your machine has connected to your remote device, you’ll see a message asking you to authorize debugging on the device. Go to the page you want to debug, and go to Dev Tools > More Tools > Remote Devices. Once these are enabled, you can go to Chrome on your desktop/laptop. Here, you’ll need to enable ‘USB debugging.’ Once the Developer Options have been enabled, you can go to ‘Developer Options’ under ‘Settings’. You can find more information about this in the Android Studio User Guide. What you have to do is to go to ‘Settings’ > ‘About Phone (or Tablet or Device)’ and then tap on the ‘Build Number’ 7 times (yes, 7 times).
Iphone safari inspector emulator mac how to#
How to do this is not readily apparent when looking through the phone settings. If you have an Android device you want to connect to, the first step is to enable ‘Developer Options’ on the device. There are other options available, like through Firefox, but these two are fairly popular combinations, and should give you an idea of how the process works. Today we’re going to look at two examples of how this can be done: Chrome on Android and Safari on iOS. This allows us to not only see what a page will look like, but also drill down into whatever other metric we want to investigate, knowing that we’re seeing is how the remote device is actually processing the page, not simply a good estimate by an emulator. Remote debugging is simply the ability to connect a remote device (say a phone or tablet), and then use our local browser tools to see (and control) what’s happening on that device. The tools to inspect these things are already in the browsers (Dev Tools or Web Inspector, for instance), but how can you use them to see exactly what’s taking place under the hood on our mobile devices? Or maybe you want to get more data on network, rendering, or JavaScript performance. Perhaps what you’re seeing on a real device doesn’t match up with the emulator, and you need to nail down what’s going on. But what do you do when you want to actually inspect what’s going on in the browser on an actual phone? One of the nice things about these are they’re part of the browser’s existing developer toolset (Chrome’s DevTools, for instance), and so you can continue to inspect and develop the page with these tools, while still having a good idea of what it will look like when it’s on a smartphone or tablet. Modern browsers typically have some kind of mobile emulator available, which can be helpful.
![iphone safari inspector emulator mac iphone safari inspector emulator mac](https://www.codebee.co.th/labs/wp-content/uploads/2019/06/Web-Inspect-วิธีตรวจสอบเว็บไซต์.png)
![iphone safari inspector emulator mac iphone safari inspector emulator mac](https://miro.medium.com/max/256/1*1EWWUIdLT1BVLjYoEuigcw.png)
When it comes time to test out how a web page will work on a mobile device, there’s no substitute for using a real device.