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.
Both the computer with desktop Firefox and your Android device must be connected to the same Wi-Fi network. Desktop cannot be using a wired connection that routes to the Wi-Fi network; both must truly be on Wi-Fi.
You will need:
- Firefox Desktop 42 or later
- An Android device running Firefox 42 or later for Android
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 Options -> "Settings" -> "Advanced"
- Enable "Remote debugging via Wi-Fi" in the "Developer Tools" section
In Firefox Desktop
Open WebIDE. Click "Refresh Devices" in the upper right corner.
Your Firefox for Android device should show up in the “WiFi Devices”.
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.
If you're having trouble getting this to work, check the Troubleshooting page for things to double check and support forums you can contact.