Skip to content

Mobile Testing

Testing on actual mobile devices is crucial for responsive design and touch interactions. Porthole makes it easy to open your tunnel on a phone or tablet.

You can automatically display a QR code in your terminal when the tunnel starts by using the --qr flag:

Terminal window
porthole 3000 --qr

Scanning this code with your mobile device will immediately open the tunnel URL.

If the tunnel is already running, you can toggle a QR code modal directly in the terminal UI by pressing the q key.

This allows you to quickly share the URL with colleagues or scan it yourself without restarting the tunnel.