Closed Bug 1619746 Opened 4 years ago Closed 4 years ago

Cannot pass a custom binary to --jsdebugger when using `mach test` or `mach mochitest`

Categories

(DevTools :: General, task, P3)

task

Tracking

(firefox76 fixed)

RESOLVED FIXED
Firefox 76
Tracking Status
firefox76 --- fixed

People

(Reporter: jdescottes, Assigned: jdescottes)

References

Details

Attachments

(1 file)

When used with ./mach run, --jsdebugger can take an additional argument to start the toolbox from another Firefox binary.

This is especially useful when you are working on a debug build, or if you have broken DevTools.

However this doesn't work with our test command lines ./mach test or ./mach mochitest.
./mach mochitest rejects the additional argument../mach test doesn't but simply ignores it.

Assignee: nobody → jdescottes
Status: NEW → ASSIGNED
Pushed by jdescottes@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/cb76cad5d903
Add --jsdebugger-path argument to mach test to specify a custom binary for the toolbox r=gbrown,ochameau
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 76

We might want to update https://developer.mozilla.org/en-US/docs/Mozilla/Projects/Mochitest , or move that page into https://firefox-source-docs.mozilla.org

I'd strongly push for moving it into source docs; this is not a part of the docs we work on anymore, and we are hoping to remove / archive a lot of Mozilla project stuff of MDN in the near future.

Keywords: dev-doc-needed
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: