Apple’s answer to “how do I inspect a web page on my iPhone?” is Safari’s Web Inspector on a Mac: plug the phone in, open the Develop menu, pick the page. It is the best tool for the job, and the setup is on the WebView Inspector help page. It also assumes you own a Mac.
If you work on Windows or Linux, or you are on a borrowed laptop with a bug report open, these are the options that actually exist. Each description below comes from the tool’s own README or website, not from a review.
Quick comparison
| Tool | Runs on | How it reaches the page | Cost model |
|---|---|---|---|
| Safari Web Inspector | Mac only | Cable or simulator | Built in |
| ios-webkit-debug-proxy | Linux, macOS, Windows | USB proxy to the device | Open source |
| ios-safari-remote-debug-kit | Windows, Linux | Proxy + patched WebKit inspector | Open source (GPL-3.0) |
| Inspect | macOS, Windows, Linux | Real devices over USB | Free tier, paid plans |
| BrowserStack Live | Any browser | Real iPhones in the cloud | Free trial, paid |
| Eruda / vConsole | Inside the page | A script tag in your page | Open source (MIT) |
1. ios-webkit-debug-proxy
Google’s ios-webkit-debug-proxy is the plumbing most of the other open-source options sit on. Its README describes it as proxying requests from the usbmuxd daemon over a websocket, so developers can send commands to MobileSafari and UIWebViews on real and simulated devices. It works on Linux, macOS and Windows.
- Install:
brew install ios-webkit-debug-proxyon macOS;scoop bucket add extrasthenscoop install ios-webkit-debug-proxyon Windows (with iTunes installed); build from source on Linux. - Use: turn on Settings → Safari → Advanced → Web Inspector, keep at least one Safari tab open, run
ios_webkit_debug_proxy, and the device list appears atlocalhost:9221, with each device’s tabs from port 9222 up. - Catch: the proxy gives you a connection, not a front end. The README itself says newer Chrome DevTools aren’t compatible with Safari and points to WebKit’s own inspector as the alternative.
2. ios-safari-remote-debug-kit
ios-safari-remote-debug-kit fills that gap. It downloads WebKit’s Web Inspector, patches it to talk to ios-webkit-debug-proxy, and serves it locally so you can open http://localhost:8080/ in Chrome, Edge, Opera or GNOME Web. It targets websites running in iOS Safari, from Windows or Linux.
- Needs: the proxy (fetched automatically on Windows), the device installed and trusted in Apple Devices, a small local web server (Node http-server, Python or PHP) and git.
- Known issues, per its README: the Timelines “Events” view doesn’t work, canvas content doesn’t show in the Graphics tab, and there are minor style glitches.
- Why pick it: it is the closest you get to the real Safari inspector without a Mac, and it is free.
3. Inspect
Inspect now describes itself as agent-first mobile web debugging for iOS and Android: it hands coding agents real iPhones, Android devices and iOS simulators through a CLI with structured JSON output, and can hand off to Chrome DevTools for visual inspection. Real devices work from macOS, Windows or Linux; iOS simulators need macOS with Xcode. Its listed scope is iOS Safari, Chrome on iOS and WebViews.
There is a free tier with a limited number of short sessions per day, plus paid plans on its pricing page. The CLI installs with npm install -g @inspectdotdev/cli. It is the most polished of the cable-based options, and the only commercial one among them.
4. BrowserStack Live
If there is no iPhone on your desk at all, a device cloud is the remaining route. BrowserStack’s own guide walks through it: start a Live session, choose iOS and a handset, open Safari, and use the Safari DevTools available from the floating toolbar. Everything runs in your desktop browser, so Windows is fine.
The trade-off is that you are debugging a remote phone, not the one in the bug report. It is ideal for “does this break on iOS at all?” and less useful for “it breaks on my customer’s phone with their settings”.
5. Eruda and 6. vConsole: a console inside the page
The two in-page consoles take a completely different approach: no proxy, no cable, no host computer. You add a script to the page and a developer panel floats over it on the phone.
- Eruda calls itself a console for mobile browsers. Add
<script src="https://cdn.jsdelivr.net/npm/eruda"></script>and<script>eruda.init();</script>, or install it from npm. - vConsole is a lightweight front-end developer tool for mobile pages, and the official debugging tool for WeChat Mini Programs. Its README lists logs, network requests (
XMLHttpRequest,fetch,sendBeacon), an element tree, cookies and local/session storage, and running JavaScript by hand.
Because they live inside the page, they work wherever the page loads — including inside a web view in someone else’s app, which none of the cable tools can reach. The cost is that they can only see what JavaScript can see: no breakpoints, no rendering timeline, no requests the page didn’t make itself. Load them only in test builds or behind a flag, never for every visitor.
Which one to use
- You have a Mac somewhere: use Safari Web Inspector. Nothing else on this list is as complete.
- Windows or Linux, iPhone on the desk, free: ios-safari-remote-debug-kit on top of ios-webkit-debug-proxy.
- Same, but you want it to just work, or an AI agent driving it: Inspect.
- No iPhone at all: BrowserStack Live.
- The page runs inside an app you can’t change: Eruda or vConsole in a test build of the page. The guide to inspecting web views in other apps covers that case in detail.
If the page lives in your own app
Every cable-based tool above ultimately talks to WebKit’s remote inspector, and a WKWebView in an app only shows up there when the app has set isInspectable = true. If your own app’s web view never appears, that flag is the first thing to check — the setup steps are here. And if what you really want is the web view’s console.log in Xcode, there is a short bridge for that.
