Mozilla Firefox 15 Previews Remote Debugging For Android

Mozilla has released a preview of its Remote Debugger for Android handsets, which will be available in its Firefox 15 web browser.

The Remote Debugger lets developers connect Firefox Desktop to Firefox Android so that they can use a nice, roomy desktop monitor to troubleshoot JavaScript running on a mobile device, according to Kevin Dangoor, product manager for developer tools at Mozilla.

Debugging Tool

In July, Mozilla announced the debugger and other new developer tools introduced in Firefox 15. To use the new debugger, developers must be running Firefox 15 at least, which is still in the beta channel stage.

In a recent blog post, Dangoor said 95 percent of Android devices are running a Firefox-compatible version of the operating system – Android 2.2 and higher. “Firefox won’t run on all of these devices, but there are certainly many millions of devices that you can pick up and begin remote debugging on,” he said.

Meanwhile, Mozilla has just created this post and how-to video that provides a step-by-step guide on how to get started remote debugging.

To get going with the remote debugger on Android, Dangoor said:

On your mobile device, browse to a page that you want to debug. Fire up the Remote Debugger on your desktop Firefox. The Remote Debugger appears as a new window and it will prompt you for the address to connect to. Replace “localhost” with the IP address of your phone. By default, the remote debugging server on your mobile device will be running on port 6000, so leave the “:6000’”there in the connection address.

Indeed, in an early July blog post, Dangoor wrote of Firefox 15 and its new debugging capabilities:

This new debugger is not just a new user interface over the functionality that Firefox’s JavaScript engine (SpiderMonkey) has been providing to tools like Firebug for years. The entire debugging interface in SpiderMonkey has been completely redesigned. There are two big things that Web developers get because of the new debugger back-end:

  1. It’s fast. JavaScript applications running with the debugger open will run nearly as fast as they do without the debugger.
  2. It’s remotable. You can connect the debugger user interface to a debugger back-end running somewhere else.

New Features

Other new features in Firefox 15 include a new Responsive Design View that makes it easy to resize just the page the developer is viewing. “With the Responsive Design View, you can work on your designs without constantly pulling out your mobile phone to see how it looks,” Dangoor said. “And, you can try out your designs without shrinking your browser’s tools, toolbars and other tabs.”

Firefox 15 also features a new Layout View that enables developers to see how the margins, padding and border are set for a node in one view. The Layout View is collapsed to a single line showing the developer the size of the element. It is available as part of the Style Inspector. Meanwhile, enhancements to the Page Inspector enable developers to turn off highlighting behaviour.

In addition, Mozilla has given the Firefox 15 Web Console a major boost in performance, Dangoor said.

Are you a Firefox enthusiast? Take our quiz.

Darryl K. Taft

Darryl K. Taft covers IBM, big data and a number of other topics for TechWeekEurope and eWeek

Recent Posts

Google Consolidates DeepMind And AI Research Teams

AI push sees Alphabet's Google saying it will consolidate its AI teams in its Research…

13 hours ago

Apple Pulls WhatsApp, Threads From China App Store

Beijing orders Apple to pull Meta's WhatsApp and Threads from its Chinese App Store over…

17 hours ago

Intel Foundry Assembles Next Gen Chip Machine From ASML

Key milestone sees Intel Foundry assemble ASML's new “High NA EUV” lithography tool, to begin…

21 hours ago

Creating Deepfake Porn Without Consent To Become A Crime

People who create sexually explicit ‘deepfakes’ of adults will face prosecution under a new law…

2 days ago

Google Fires 28 Staff Over Israel Protest, Undertakes More Layoffs

Protest at cloud contract with Israel results in staff firings, in addition to layoffs of…

2 days ago