X
Tap here to go to the mobile version of the site.

Support Forum

Firefox Remote Debugging does not work

Posted

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?

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?

Additional System Details

Application

  • User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:26.0) Gecko/20100101 Firefox/26.0

More Information

gnittala 25 solutions 307 answers

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

Hello, Can you please confirm that you are trying to [https://developer.mozilla.org/en-US/docs/Tools/Remote_Debugging/Firefox_for_Android 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

Question owner

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

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
gnittala 25 solutions 307 answers

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]
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 <s> #b2g or #introduction for more help. Though #introduction might be more relevant. </s> 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]=====

Modified by Andrew

rnewman@mozilla.com 16 solutions 168 answers

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.

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.

Question owner

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.

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.

Modified by takemetohell