DevTools/WiFi Debugging
Security Warning
The current version of WiFi debugging is not authenticated or encrypted. This means that, if you enable it as described below:
- Anyone on the same WiFi network can connect to your device with the DevTools
- Anyone on the same WiFi network can read your debugging traffic (which can include full requests, responses, etc.)
Because of this, it would be wise to avoid enabling this feature at this time on a device with data that is sensitive or personal in any way. These issues will be resolved before this feature is available by default.
Overview
WiFi debugging allows WebIDE to connect to your Firefox OS device via your local WiFi network instead of a USB cable.
The connection experience is generally more straightforward (especially after connecting to a device the first time) than with USB and also more convenient to use since you're no longer tied down by a cable.
Enabling
Since this feature is still under heavy development, there are few things you must do make it available:
- In Firefox Nightly:
- Set the pref
devtools.remote.wifi.scantotrue
- Set the pref
- On Firefox OS:
- Set the pref
devtools.remote.wifi.visibletotrue- This exposes a UI option to control WiFi debugging from Settings -> Developer
- Set the pref