Please note, this is a STATIC archive of website developer.mozilla.org from 03 Nov 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

Debugging Firefox for Android over WiFi

Наши волонтёры ещё не перевели данную статью на Русский. Присоединяйтесь к нам и помогите закончить эту работу!

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.

Setup

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:

  1. Install the Barcode Scanner Android app by ZXing Team
  2. Open Firefox for Android
  3. Go to Developer Tools Settings on device (Settings -> Developer Tools)
  4. Enable Remote Debugging via Wi-Fi

Connecting

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.

 

Метки документа и участники

 Внесли вклад в эту страницу: jryans, wbamberg, egladman
 Обновлялась последний раз: jryans,