Chrome Developer Tools: Back to Basics

Thursday, February 24, 2011

Labels:

It’s been an exciting past few months in the Google Chrome Developer Tools world as we keep adding new features, while polishing up existing ones to respond to your feedback.

One of the areas we have focused a lot of our energy is on network instrumentation. Recently we’ve made many improvements that will hopefully improve your experience when using Chrome Developer Tools. These improvements include:

  • Network aspects of your web page are now inspected in the Network panel. This gives you access to even more information at a single glance. You can sort and clear data, preserve log information upon navigation and even export network data into HAR format.
  • All the timing information about your resource loads now comes from the network stack, not WebKit, so timing information now adequately represents raw network timing. You can see detailed timing for different phases of the loading by hovering over the log entry.

  • We now push raw HTTP headers and status messages into Chrome Developer Tools. As a result, you now see precisely what the browser received from the server and not just how the rendering engine interpreted that information.
  • Similarly to the old Resources panel, you can see syntax-highlighted resource contents.

We’ve also made CSS editing a whole lot easier. In particular, you’ll now find separate fields for property names and values instead of a single field for both. As you type, you will see suggestions of available keywords for property values.


But that’s only the tip of the iceberg. Similar to the changes in the network panel, the CSS sidebar now shows the raw information that the browser gets from the server - not the rendering engine’s interpretation of the information. As a result, you can use Chrome Developer Tools to see CSS properties that are not recognized by WebKit (e.g., engine-specific or simply erroneous properties). This finally puts an end to the nightmare of disappearing invalid properties.


For a more complete reference on working with the Chrome Developer Tools, check out our new home page. The CSS improvements that we implemented upstream in WebKit are further described in our WebKit blog post. And for even more tips on how to use Chrome Developer Tools, watch the new video below.



16 comments:

Jon B said...

Which build of Chrome are these changes available in?

AndyLima said...

A color picker for the CSS sidebar property editor would be highly useful for web designers!

Kenneth said...

I *really* miss the old interface.

Bjorn Tipling said...

A JSON, HTML and &XML viewer would be really nice. I wonder if maybe there are some tickets on that I can help out on.

AndyLima said...

> A color picker for the CSS sidebar property editor [...]

Specifically, I'm asking for integration with the OS's native color picker... Especially on the Mac, where the color picker, with its plugins, kicks some serious ass.

Paul Irish said...

Bjorn,

Here are the open devtools tickets: http://code.google.com/p/chromium/issues/list?can=2&q=feature=DevTools

And the source for browsing (it's all html/css/js!):
http://www.google.com/codesearch/p#OAMlx_jo-ck/src/third_party/WebKit/Source/WebCore/inspector/front-end/&d=7

Brian said...

The cookie inspection tools are much worse now. Please continue polishing that!

Brian said...

For example, it's very difficult to copy cookie values to the clipboard now.

pfeldman said...

These features are available on the Chrome Beta channel (see http://www.chromium.org/getting-involved/dev-channel). But as usually, if you want to get the latest and greatest, stick to the Dev Channel. It is updated roughly once a week.

Jared McAteer said...

Please give us the ability to disable the tooltip under the hovered elements that shows dimensions of the element. It makes it hard to compare where margins line up.

Marcus said...

I've been using dev channel releases and have come across a few of these by accident over the last few weeks. It always makes my day. I hit esc once by accident and bam. Console. Nice!

I also found shift+cmd+c which brings up the element inspector, and I love how hovering over variables in the source shows their values when using breakpoints. Chrome dev tools rock.

Chris P said...

One of the first updates that I finally felf that the chrome developer tool is feature complete compared to firebug. The network support changes are huge. The old system did not make debugging Ajax very much fun at all. Bravo .

Eytan said...

Would be very valuable if I could filter the network requests by keyword

Scott Scowden said...

Is there a way to pause the Network Panel if it's receiving live data? I don't see a way, but it would be nice to do if you want to analyze your page load times, but dont't want to have your data be shifted constantly by Ajax/JSON requests.

Jocke said...

If the checkboxes, for enable/disable, could be placed just to the left of the property (for CSS inspection), instead off to the right, it would be a huge improvement in usability.

If the right pane is large it's hard to see what checkboxes belongs to what property.

Also if the checkboxes could be bigger and/or maybe a shortcut to enable/disable (ex; ALT-click the property). It's a pain now to hit that little checkbox, especially if you need to change a lot of them. Or maybe I need a bigger screen...

MK said...

It'd be great if images in the browser had a "Properties" context menu item that would open the DevTools Resources view directly. This would be equivalent to the "Image Properties" feature in other browsers, but is currently hard to find. (Issue 9278)