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.
QR Code Flag
Section titled “QR Code Flag”You can automatically display a QR code in your terminal when the tunnel starts by using the --qr flag:
porthole 3000 --qrScanning this code with your mobile device will immediately open the tunnel URL.
QR Modal Hotkey
Section titled “QR Modal Hotkey”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.