Поиск в Поддержке

Избегайте мошенников, выдающих себя за службу поддержки. Мы никогда не попросим вас позвонить, отправить текстовое сообщение или поделиться личной информацией. Сообщайте о подозрительной активности, используя функцию «Пожаловаться».

Learn More

Firefox Remote Debugging does not work

  • 5 ответов
  • 10 имеют эту проблему
  • 717 просмотров
  • Последний ответ от takemetohell

more options

My hosting machine is Ubuntu 13.10 64 bit and my mobile device is Vodafone 875 (Android 4.1.1).

I've done all the recommendations on https://developer.mozilla.org/en-US/docs/Tools/Remote_Debugging but when I try to connect I receive the following message: Error: connection timeout.

I don't know what to do. Can you help me?

Все ответы (5)

more options

Hello,

Can you please confirm that you are trying to remote debug the Firefox on Android. If so, can you please check if iptables or the default firewall on your machine is blocking any outbound connections. That could be a start. If that doesn't help then we can check other possibilities.

Thank you

more options

Yes, I'm trying to remote debug Firefox on Android via USB cable, as specified in the guide.

I'm sorry but how can I check iptables or the firewall? Could you be more specific? Thanks

more options

Hello,

Before moving to iptables, I want to confirm that the port forwarding steps mentioned in the article are setup properly. Can you please confirm that it was setup without any issues.

Also, you can login to the Mozilla IRC, irc.mozilla.org on channels #b2g or #introduction for more help. Though #introduction might be more relevant.

Thank you

The #b2g is for issues relating to Firefox OS. The #introduction channel is for new contributors that want to get started with Mozilla. For Firefox for Android, please visit the #mobile channel. Thank you! [Feer56]

Изменено Andrew

more options

Make sure you run the `adb forward` command every time you connect your device.

Make sure that adb is able to connect (e.g., by running `adb logcat`).

Make sure Firefox is running on the device, and that the

devtools.debugger.remote-enabled

pref is set to True in about:config on your phone.

more options

Replying to gnittala and rnewman@mozilla.com.

adb devices returns this:

$android-sdk-linux/platform-tools/adb devices

daemon not running. starting it now on port 5037

daemon started successfully

List of devices attached

0123456789ABCDEF device

$


adb forward returns this:

$android-sdk-linux/platform-tools/adb forward tcp:6000 tcp:6000

$


adb logcat returns an infinite string that I do not report.

devtools.debugger.remote-enabled is set to true on my phone.


if you wish we can meet in #mobile to speed up things. Give me a UTC time when you are there and that I would be fine.

Изменено takemetohell