Safari debugging on iPhone
You want to inspect a webpage in Safari on a real iPhone and split your workspace between your code and the inspector. WebKit describes connecting an iPhone to a Mac running macOS for this.
Start by considering the device and browser you want to inspect. For the WebKit-described method of inspecting Safari on a connected iPhone, you’ll need macOS. Chrome for Android, meanwhile, supports remote debugging from Windows, macOS or Linux. Then check that the exact laptop, monitor, phone and any cables or hub will work together in your setup. Simulating a mobile view won’t replace every test on a real device.
You want to inspect a webpage in Safari on a real iPhone and split your workspace between your code and the inspector. WebKit describes connecting an iPhone to a Mac running macOS for this.
You inspect Chrome on a connected Android phone and also want to use a monitor. Chrome for Developers describes remote debugging from Windows, Mac or Linux; next, check the ports on the laptop you’re considering.
You mainly test responsive layouts on your laptop and connect a monitor at your desk. You’re weighing portability against screen space and connectivity, and checking any important differences on a real device when needed.
Here, ‘two screens’ means the laptop screen plus one external monitor. If you mean two external monitors, check separately whether the exact laptop configuration supports this.
| Consideration | What to look for when buying | Who should give this extra thought? |
|---|---|---|
| Safari on a real iPhone | Check whether you need the macOS workflow described and whether the ports and cables will work with your phone and monitor. | If I need to inspect Safari on a connected iPhone, that workflow helps determine which operating system I need. Around 33% of consumers put iPhone inspection first. |
| Android alongside a monitor | Check that the Android connection is supported and that there’s a suitable video output for your monitor. | If I want to inspect Chrome on a real Android device while using a monitor, both connections need to work with my setup. Around 33% of consumers prioritise this combination. |
| Screen space and portability | Compare the size of the built-in screen and check the monitor output on the exact model configuration. | If I switch between working on the go and using a monitor at my desk, I weigh up laptop screen space against portability. Around 23% of consumers put this trade-off first. |
| Memory and storage | Check the memory configuration for the programmes you use at the same time, and the SSD capacity for local projects and tools. | If I use several development tools at once or store projects locally, I check the memory and storage on the configuration I’ve chosen. Around 11% of consumers name capacity as their top priority. |
A viewport simulation helps you check dimensions, but it doesn’t always show how a page behaves on a real device. Google recommends testing the page on a mobile device too if you’re unsure.
Before choosing a laptop, decide whether you need to inspect a real Android phone, an iPhone or just a simulated view.
The presence of a port alone doesn’t prove that your monitor, phone, cables and any dock will work together. Ports and support can vary between models and configurations.
Before you buy, check the ports and display support on the exact laptop and monitor, as well as any dock you plan to use.
According to ACM ConsuWijzer, there’s no fixed duration for statutory warranty in the Netherlands, and it doesn’t automatically end when a shorter manufacturer’s warranty expires.
Keep your proof of purchase and contact the seller if you think a product may be faulty.
Worth considering if you need macOS for the described method of inspecting Safari on a connected iPhone.
The ThinkPad E14 Gen 7 Intel range is a Windows option to consider for a workspace with wired peripherals.
The 16-inch ProBook 4 G2i could suit you if you want to combine a larger built-in screen with a permanent monitor setup.
The Zenbook 14 OLED UX3405 range is a compact Windows option for anyone who regularly connects a monitor.
You can simulate a mobile viewport in Chrome DevTools, but if you’re unsure, Google recommends testing the page on a real mobile device too. Chrome for Developers describes remote debugging for this.
Connect the monitor using a suitable video connection and select an extended display in Windows. Microsoft describes settings for each connected display; before buying, check that the output on the exact laptop matches the input on your monitor.
It depends on the ports and cables in your chosen setup. Apple lists two Thunderbolt 4 ports on the 13-inch MacBook Air with M5 and advises checking the video ports and required cables or adapters for each Mac model. WebKit also explains how to connect an iPhone to a Mac for inspection.
According to Apple, this model supports up to two external displays alongside the built-in display. Also check the connections and requirements for your specific setup, including your monitors and cables.