You can now open the browser debugger from the commandline (now also for mochitests!)
gijskruitbosch at gmail.com
Fri Oct 25 09:55:02 UTC 2013
Recently landed on m-c (should work on today's upcoming nightly): a
--jsdebugger commandline flag! So opening firefox with --jsdebugger will
immediately open the Browser Debugger.
What's more, a few minutes ago support landed on m-c for using this flag
with mochitest-(plain|browser|chrome) for the same.
That means you can now do something like:
and it'll start the browser, open the debugger, and wait with running
the test(s) until you hit the button on the mochitest UI (e.g. after
you've set breakpoints etc.)
This should ease tracking down the cause of intermittent failures in
these tests. Happy debugging!
PS: details in https://bugzilla.mozilla.org/show_bug.cgi?id=895471 if
More information about the firefox-dev