Browser Preview
Inspect localhost dev servers on your iPhone over encrypted QUIC tunnels without port forwarding, complete with console logs and DOM inspection.
Cawide includes an in-app browser that lets you preview web applications running on your workstation directly from your phone.
How it works
When developing web applications, running a dev server typically binds to localhost or 127.0.0.1. Accessing this from your phone usually requires setting up ngrok, Cloudflare tunnels, or opening router ports.
Cawide routes browser requests directly through the existing encrypted QUIC tunnel between your phone and your host machine:
- No open ports: Your local router and firewall settings remain unchanged.
- No external accounts: No third-party tunneling services are needed.
- End-to-end encryption: All HTTP traffic travels over the mutual TLS 1.3 tunnel.
Opening a dev server
The in-app browser runs all requests through your host computer's network over the encrypted tunnel. You can access any dev server, port, or internal web app directly from your phone:
- Directly in the iPhone app: Tap the Browser tab in your workspace navigation. Cawide detects active local ports automatically, or you can enter any port number or URL in the address bar.
- From your computer terminal: Run
cawide open <port>as a convenient shortcut to launch the page on your phone immediately:
cawide open 3000You can also pass a full URL including a path:
cawide open http://localhost:8080/dashboardBuilt-in developer tools
The in-app browser includes a mobile developer inspection suite:
- Console logs: View
console.log,console.warn, andconsole.erroroutputs in real time as your front-end code runs. - Network inspector: Inspect outgoing fetch and XHR requests, response status codes, timing metrics, and headers.
- DOM inspector: Explore the rendered HTML tree, inspect element attributes, and view computed CSS styles.
These tools allow you to debug mobile rendering issues without connecting your iPhone to a Mac via a USB cable.