News for hackers. Stuff that matters.
Re:Firefox Developer Tools – Editable box model, Sublime Tex... by diggan on Wednesday May 07, 2014 @01:46PM (#7711618)
Long time ago I used Firebug. What do you see is better in Firebug than Chrome Devtools?
Re:Firefox Developer Tools – Editable box model, Sublime Tex... by leeoniya on Wednesday May 07, 2014 @02:30PM (#7711876)
my peeves (in order of annoyance, desc):

- inspecting ajax responses in console without flipping to net panel, then hunting for the correct request.

- keeping an inspected/selected html element highlighted on page, not just on mouseover so you can see element bounds. this is useful for tweaking sizing, padding, margins and position.

- as-i-type updating of html rather than on blur

- live highlighting html as it changes

- multiline console

- can't arrange the console tab to be first or arrange the tabs in my most frequently used order. to be fair, FB doesnt offer this either, but I like the console to be first since i spend 90% of my time there in FB, probably cause it's much more useful than chrome's.

there's more that dont immediately come to mind, but not having the first 2 is a major nuisance and productivity killer.

Re:Firefox Developer Tools – Editable box model, Sublime Tex... by thedufer on Wednesday May 07, 2014 @03:59PM (#7712322)
> multiline console

Shift-enter in the Chrome console creates a newline rather than executing.

> live highlighting html as it changes

In the Rendering tab (bottom panel) there's a toggle for "Show paint rectangles" which sounds like its close (but not quite the same) as what you're looking for.

Re:Firefox Developer Tools – Editable box model, Sublime Tex... by leeoniya on Wednesday May 07, 2014 @04:37PM (#7712519)
> Shift-enter in the Chrome console creates a newline rather than executing.

this is not only a major pain in the ass, but also much much worse than just having a persistent multiline editor window that keeps your code, cursor position and selection intact between executions.

there is simply no comparison here.

Re:Firefox Developer Tools – Editable box model, Sublime Tex... by oomkiller on Wednesday May 07, 2014 @09:23PM (#7713516)
Use snippets and just hit the run button for a near-identical experience. There is a keyboard shortcut for it too IIRC
Re:Firefox Developer Tools – Editable box model, Sublime Tex... by smalu on Wednesday May 07, 2014 @02:40PM (#7711932)
You can enable logging XMLHttpRequests in dev tools settings (gears icon on bottom-right edge) -> console
Re:Firefox Developer Tools – Editable box model, Sublime Tex... by leeoniya on Wednesday May 07, 2014 @03:02PM (#7712055)
it's not at all useful. all you get is some stack-tace-like thing without any of what you actually want to see. like req/resp headers and body, params, inline json/html decoding based on response type. chrome lags here by a large margin.
Re:Firefox Developer Tools – Editable box model, Sublime Tex... by clarkm on Wednesday May 07, 2014 @04:35PM (#7712500)
Just click the request from the console, and it takes you to the network tab where you can see the headers, response, etc.
Re:Firefox Developer Tools – Editable box model, Sublime Tex... by leeoniya on Wednesday May 07, 2014 @04:56PM (#7712613)
to see the response body of a request in chrome:

1. Click request in console

2. Find and click request again in Net panel

3. Click Preview or Response tab

4. Click console again to return

and then...

5. Oh wait, want to see something in the headers

6. Rinse and repeat.

In FB:

1. Click request in console.

2. See raw response body right away, or click headers to see headers or json/html to see those rendered nicely.

3. bonus: view multiple json requests in same window

Re:Firefox Developer Tools – Editable box model, Sublime Tex... by magicalist on Wednesday May 07, 2014 @05:40PM (#7712811)
It's actually more like

1. Click request in console

2. Click on the request that was just highlighted for you in the Net panel

3. See headers right away, or click Response to see raw response or Preview to see those rendered nicely

4. Click console again to return

and then...

5. Oh wait, want to see something in the headers

6. Go to the Net panel, still there for you

It's a different workflow and it's probably annoying to you since you're not used to it, but "it's not at all useful" is edging past hyperbolic. Personally I feel like a clumsy idiot when I go back to Firebug, even though I used to live in it and once knew every quirk. I think that's just the way of developer tools.

Re:Firefox Developer Tools – Editable box model, Sublime Tex... by jkrems on Wednesday May 07, 2014 @11:29PM (#7713811)
I rarely need the console tab in the chrome devtools because hitting Esc is normally way faster. Also having the tabs in a defined order allows you to use Cmd+n to switch between them (and the number stays the same).
Re:Firefox Developer Tools – Editable box model, Sublime Tex... by johnward on Wednesday May 07, 2014 @02:24PM (#7711844)
I think the chrome devs did a good job of incorporating the best firebug features. The things that I find better in Firebug are mostly add-ons. For example I work with xpath a lot so firepath work awesome and ties into firebug seamlessly. I haven't found a tool that works as well on chrome.

I also wonder why Mozilla didn't attempt to acquire firebug instead of building their own tools from scratch?

Re:Firefox Developer Tools – Editable box model, Sublime Tex... by fournm on Wednesday May 07, 2014 @03:42PM (#7712255)
I believe Mozilla does manage Firebug, but the reason it isn't integrated as the main set of tools has to do with Firebug being much slower on complex pages?
Re:Firefox Developer Tools – Editable box model, Sublime Tex... by conradfr on Thursday May 08, 2014 @09:53AM (#7715240)
Ironically I don't get console log in Firebug anymore since FF 29 (conflicts with other plugins it seems ?), so that forces me to use the dev tools.
Re:Firefox Developer Tools – Editable box model, Sublime Tex... by mixedbit on Wednesday May 07, 2014 @02:32PM (#7711888)
Mozilla maintains firebug.
Re:Firefox Developer Tools – Editable box model, Sublime Tex... by rhizome on Wednesday May 07, 2014 @06:29PM (#7712996)
Chrome adamantly refuses to un-enable responsive useragent stuff. I constantly have to turn off the extra half-window. More evidence that Google has little product sense.
Re:Firefox Developer Tools – Editable box model, Sublime Tex... by grrowl on Wednesday May 07, 2014 @07:00PM (#7713097)
I agree, while Chrome DevTools are superior in many ways, it's become a shambles as they shoehorn features wherever they fit (like that console half-window)