Open Bug 1591021 Opened 5 years ago Updated 2 years ago

Add documentation about investigating Remote Debugging regressions

Categories

(DevTools :: about:debugging, task, P3)

task

Tracking

(Not tracked)

ASSIGNED

People

(Reporter: jdescottes, Assigned: jdescottes)

References

Details

See the threads in https://bugzilla.mozilla.org/show_bug.cgi?id=1590932

When a remote debugging regression is reported, it can be difficult to reproduce and investigate, especially if you don't have an Android device.

But there are several ways to narrow down the problems, using only Firefox Desktop. Purely Android/GeckoView issues are very rare, so adding a documentation that explains how to setup Firefox Desktop to reproduce those issues should be helpful.

There are two main categories of remote debugging issues: backward compatibility issues, and mobile-only issues. First ones can be investigating by targeting older Firefox builds using remote debugging, no need for an android device. For the second one, most of the time the issue comes from the fact that "devtools/client" is not deployed on the Firefox mobile builds. The easies way to reproduce those is to build Firefox for Desktop without the devtools/client files and then try to debug this build using remote debugging.

The documentation should contain the information above as well as some details on how to start firefox as a debugger server.

Bugbug thinks this bug should belong to this component, but please revert this change in case of error.

Component: General → about:debugging
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.