Open Bug 997233 Opened 11 years ago Updated 7 months ago

Open Firefox with DevTools automatically open

Categories

(DevTools :: Framework, defect)

defect

Tracking

(Not tracked)

People

(Reporter: bgrins, Unassigned)

References

Details

Attachments

(1 file, 1 obsolete file)

It would help when working on the browser frontend (and probably in some automation testing environments) to be able to start the browser with devtools opened. Bonus points if we could select a panel to open on.
This is a WIP that opens devtools with the process: mach run --devtools=inspector There are known bugs: * running with just --devtools should open on last used tab, but doesn't do anything * when opened with the flag, pressing cmd+alt+i to try and close it instead opens a second * it auto opens on every new page (may or may not be desired) * probably other stuff
Summary: Open process with DevTools open → Open Firefox with DevTools automatically open
yes please!
Brian, this is pretty cool as-is, so I would say let's just land it. We can always tweak it later.
Flags: needinfo?(bgrinstead)
(In reply to J. Ryan Stinnett [:jryans] from comment #3) > Brian, this is pretty cool as-is, so I would say let's just land it. We can > always tweak it later. There are some errors with gDevTools.showToolbox that are fixed by Joe's work in Bug 1013356, so we should at least wait for that. I'd still like to make running with `--devtools` work, but luckily both of these issues seem to be resolved now: > * when opened with the flag, pressing cmd+alt+i to try and close it instead opens a second > * it auto opens on every new page (may or may not be desired)
Depends on: 1013356
Flags: needinfo?(bgrinstead)
Product: Firefox → DevTools
Severity: normal → S3
Attachment #9385730 - Attachment is obsolete: true
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: