Remote code debugging--Mobile code debugging (Firefox tools)

Source: Internet
Author: User

Remotely debugging Firefox for Android

Use the Firefox development tool to debug remote code on your desktop (FF26 or more)

Specific Use reference:

Https://developer.mozilla.org/en-US/docs/Tools/Remote_Debugging/Firefox_for_Android

Main process:

1. Install androidsdkon the desktopand use androidsdk to install Android Platform Tools, To test the successful installation method:

Connect your PC and device via USB

Enter the installation directory under the command prompt,

Lists the devices that are currently connected.

2. Do the following in the mobile Firefox browser:

Firefox for Android and earlier: type in the browser address bar

About:config, enter Devtools in the search box, click Search,

Find devtools.debugger.remote-enabled to ensure that it is true

Firefox for Android and later: In the development tool, settings--In the browser menu , select "Remote Debugging"

3. For actions on desktop browsers

In the Debug toolbar, in Settings, select Enable Remote Debugging

Then restart the browser, in the browser menu bar- tool --web Developer, there is a "connection" to connect the mobile device

4. Start connection

Under the Desktop command, enter the adb installation directory , See 1, and then do the following:

ADB forward tcp:6000 tcp:6000

Then click on "Web developer - Connect". Appear

On the mobile device side, confirm the connection.

Remote code debugging--Mobile code debugging (Firefox tools)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.