Closed Bug 1226744 Opened 9 years ago Closed 9 years ago

Add a command line flag to auto open devtools when the browser starts up

Categories

(DevTools :: Framework, defect)

defect
Not set
normal

Tracking

(firefox45 fixed)

RESOLVED FIXED
Firefox 45
Tracking Status
firefox45 --- fixed

People

(Reporter: bgrins, Unassigned)

Details

Attachments

(1 file)

If we had a command line flag to auto-open devtools it would get rid of a step in the process of building / running / testing changes to the devtools code base.

My proposal is that if you `./mach run --devtools` then when the browser starts up a toolbox is opened first thing on the selected tab once the browser starts up.
Bug 1226744 - Add a command line flag to auto open devtools when the browser starts up;r=jryans
Attachment #8690338 - Flags: review?(jryans)
Comment on attachment 8690338 [details]
MozReview Request: Bug 1226744 - Add a command line flag to auto open devtools when the browser starts up;r=jryans

Still awaiting feedback about this feature on the mailing list, so clearing review flag for now
Attachment #8690338 - Flags: review?(jryans)
Comment on attachment 8690338 [details]
MozReview Request: Bug 1226744 - Add a command line flag to auto open devtools when the browser starts up;r=jryans

Haven't heard any objections on the mailing list, so flagging for review.  What do you think about this Ryan?
Attachment #8690338 - Flags: review?(jryans)
Comment on attachment 8690338 [details]
MozReview Request: Bug 1226744 - Add a command line flag to auto open devtools when the browser starts up;r=jryans

https://reviewboard.mozilla.org/r/25831/#review23515

Seems fine to experiment with these flags however we like.

Would be great to also extend to open a specific tool.

::: devtools/client/devtools-clhandler.js:63
(Diff revision 1)
> +  handleDevtoolsFlag: function() {

Nit: Please appease my OCD and name this `handleDevToolsFlag` not `handleDevtoolsFlag`
Attachment #8690338 - Flags: review?(jryans) → review+
https://hg.mozilla.org/mozilla-central/rev/d2c11c5f2c00
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 45
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: