News for hackers. Stuff that matters.
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).