This article describes how to connect the Firefox Developer Tools to Firefox for Android over WiFi. Although it's been possible to connect the tools to Firefox for Android over USB for some time, connecting over WiFi is more convenient and reliable than the USB method.
You will need:
- Firefox Desktop 42 or later
- an Android device running Firefox for Android 42 or later
If you need to use older versions of Firefox Desktop or Firefox for Android, see the guide to debugging Firefox for Android over USB.
On the Android device:
- Install the Barcode Scanner Android app by ZXing Team
- Open Firefox for Android
- Go to Developer Tools Settings on device (Settings -> Developer Tools)
- Enable Remote Debugging via Wi-Fi
In Firefox Desktop
Open WebIDE. Click “Select Runtime” to open the runtimes panel. Your Firefox for Android device should show up in the “WiFi Devices” section:
Select the device. WebIDE will display a QR code:
On the Android device
A connection prompt will appear on the device. Choose “Scan” or “Scan and Remember”. Scan the QR code displayed in WebIDE, using the Barcode Scanner app.
After scanning the QR code, the QR display should disappear and the “device” icon in WebIDE will turn blue for “connected”.
You can then access all of your remote browser tabs, and connect the developer tools to them.