[ Web Proxy ]
URL:
Viewing: https://developer.chrome.com/blog/new-in-devtools-77#breakpointeditor [Back]  [Original]

What's New In DevTools (Chrome 77)  |  Blog  |  Chrome for Developers Skip to main content
Chrome for Developers [Chrome for Developers]

What's New In DevTools (Chrome 77) Stay organized with collections Save and categorize content based on your preferences.

Note: Interested in helping improve DevTools? Sign up to participate in Google User Research here.

Copy element's styles

Right-click a node in the DOM Tree to copy that DOM node's CSS to your clipboard.

Copy styles. [Copy styles.]

Figure 1. Copy element styles.

Thanks Adam Argyle and VisBug for the inspiration.

Visualize layout shifts

Warning: This feature can cause your screen to flash a lot and may not be suitable for you if you're prone to photosensitive epilepsy.

Supposing you're reading a news article on your favorite website. As you're reading the page, you keep losing your place because the content is jumping around. This problem is called layout shifting. It usually happens when images and ads finish loading. The page hasn't reserved any space for the images and ads, so the browser has to shift all the other content down to make room for them. The solution is to use placeholders.

DevTools can now help you detect layout shifting:

  1. Open the Command Menu.
  2. Start typing Rendering.
  3. Run the Show Rendering command.
  4. Enable the Layout Shift Regions checkbox. As you interact with a page, layout shifts are highlighted blue.

A layout shift. [A layout shift.]

Figure 2. A layout shift.

Chromium issue #961846

Lighthouse 5.1 in the Audits panel

Note: This update actually shipped in Chrome 76. We didn't cover it in What's New In DevTools (Chrome 76) so we're covering it now.

The Audits panel is now running Lighthouse 5.1. New audits include:

The new Audits panel UI. [The new Audits panel UI.]

Figure 3. The new Audits panel UI.

The Node and CLI versions of Lighthouse 5.1 have 3 new major features worth checking out:

OS theme syncing

If you're using the dark theme of your OS, DevTools now switches to its own dark theme automatically.

Keyboard shortcut for opening the Breakpoint Editor

Press Control+Alt+B or Command+Option+B (Mac) when focused in the Sources panel's Editor to open the Breakpoint Editor. Use the Breakpoint Editor to create Logpoints and Conditional Breakpoints.

The Breakpoint Editor. [The Breakpoint Editor.]

Figure 4. The Breakpoint Editor.

Prefetch cache in Network panel

The Size column of the Network panel now says (prefetch cache) when a resource was loaded from the prefetch cache. Prefetch is a new-ish web platform feature for speeding up subsequent page loads. Can I use... reports that it's supported in 83.33% of global browsers as of July 2019.

The Size column showing that resources came from the prefetch cache. [The Size column showing that resources came from the prefetch cache.]

Figure 5. The Size column shows that prefetch2.html and prefetch2.css came from (prefetch cache).

See Prefetch Demo to try it out.

Chromium issue #935267

Private properties when viewing objects

The Console now shows private class fields in its object previews.

When inspecting an object, the Console now shows private fields like '#color'. [When inspecting an object, the Console now shows private fields like '#color'.]

Figure 6. The old version of Chrome on the left does not show the #color field when inspecting the object, whereas the new version on the right does.

Notifications and push messages in the Application panel

The Background Services section of the Application panel now supports Push Messages and Notifications. Push Messages occur when a server sends information to a service worker. Notifications occur when a service worker or page script shows information to the user.

As with the Background Fetch and Background Sync features from Chrome 76, once you start recording, Push Messages and Notifications on this page are recorded for 3 days, even when the page is closed, and even when Chrome is closed.

The new Notifications and Push Messages panes. [The new Notifications and Push Messages panes.]

Figure 7. The new Push Messages and Notifications panes in the Application panel.

Chromium issue #927726

Download the preview channels

Consider using the Chrome Canary, Dev, or Beta as your default development browser. These preview channels give you access to the latest DevTools features, let you test cutting-edge web platform APIs, and help you find issues on your site before your users do!

Get in touch with the Chrome DevTools team

Use the following options to discuss the new features, updates, or anything else related to DevTools.

What's new in DevTools

A list of everything that has been covered in the What's new in DevTools series.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2019-07-22 UTC.

[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2019-07-22 UTC."],[],[]]

Web Proxy Viewer  |  New URL  |  Original Page