What's New in DevTools (Microsoft Edge 90)

To check out the latest features of Microsoft Edge DevTools and the Microsoft Edge DevTools extension for Microsoft Visual Studio Code and Visual Studio, read these announcements.

To stay up to date and get the latest DevTools features, download an Insiders preview version of Microsoft Edge. Whether you're on Windows, Linux, or macOS, consider using Canary (or another preview channel) as your default development browser. The Beta, Dev, and Canary versions of Microsoft Edge run as separate apps, side-by-side with the stable, released version of Microsoft Edge. See Microsoft Edge Insider Channels.

For the latest announcements, follow the Microsoft Edge team on Twitter. To report a problem with DevTools or ask for a new feature, file an issue in the MicrosoftEdge/DevTools repo.

Group tools together in Focus Mode

Focus Mode is an experimental interface that allows you to group different tools together based on your own debugging scenarios. The new Activity Bar displayed on the left includes predefined tool groups such as Layout and Debugging. To customize each tool group, close tools with the Close (X) icon or add new tools with the More tools (+) icon.

To turn on the experiment, see Turning an experiment on or off and select the checkboxes next to Focus Mode and DevTools Tooltips and Enable + button tab menus to open more tools. For more information about this feature or to comment with questions and ideas, see DevTools: Focus Mode UI.

Display the Activity Bar.

Learn about DevTools with informative tooltips

The DevTools Tooltips feature helps you learn about all the different tools and panes. Hover over each outlined region of DevTools to learn more about how to use the tool. To turn on Tooltips, do one of the following:

  • Select Customize and control DevTools (...) > Help > Toggle the DevTools Tooltips.
  • Press Ctrl+Shift+H (Windows, Linux) or Command+Shift+H (macOS).
  • Open the Command Menu and then type tooltips.

Then hover over each outlined region of DevTools:

DevTools Tooltips mode

To turn off Tooltips, press Esc.

Update: This feature has been released and is no longer experimental.

Note: As of May 2022, tooltips aren't supported from the Activity Bar.

Customize keyboard shortcuts in Settings

You can now customize the keyboard shortcut for any action in the DevTools.

To edit a keyboard shortcut:

  1. Open DevTools, and then select Settings > Shortcuts.

  2. Select the action you want to customize.

  3. Click the Edit (Edit icon) icon.

  4. Press the keys you want to bind to the action.

  5. Click the checkmark (Checkmark icon) icon.

For more information about customizing and editing shortcuts, see Customize keyboard shortcuts in DevTools. For real-time updates on this feature in the Chromium open-source project, see Issue 174309.

Customize keyboard shortcuts in the DevTools Settings on Shortcuts with a shortcut in edit mode

Microsoft Edge DevTools for Visual Studio Code extension update 1.1.4

The Microsoft Edge Developer Tools for Visual Studio Code extension version 1.1.4 for Microsoft Visual Studio Code now displays a favicon next to each of the DevTools instances. Console messages from Microsoft Edge now display in the DevTools Console under Output of Microsoft Visual Studio Code. Microsoft Visual Studio Code updates extensions automatically. To manually update to version 1.1.4, see Update an extension manually. You can file issues and contribute to the extension on the vscode-edge-devtools GitHub repo.

The following figure displays messages from an example webpage logged in the Console tool in Microsoft Edge:

Displaying a message in Console in Microsoft Edge DevTools

The following figure displays the same messages from the example webpage logged in the DevTools Console under Output of Microsoft Visual Studio Code:

Displaying the same message in the DevTools Console under Output of Microsoft Visual Studio Code

See also:

Improved CSS flexbox editing with visual flexbox editor and multiple overlays

DevTools now has dedicated CSS flexbox debugging tools. If the display: flex or display: inline-flex CSS style is applied to an HTML element, a flex icon appears next to that element in the Elements tool. To display (or hide) a flex overlay on the webpage, click the flex icon.

To open the Flexbox editor, in the Elements tool, go to the Styles tab and then click the new icon next to the display: flex or display: inline-flex style. The Flexbox editor provides a quick way to edit the flexbox properties:

CSS flexbox debugging tools

In addition, the Flexbox section in the Layout pane displays all of the flexbox elements on the webpage. You can toggle the overlay of each element:

Flexbox section in the Layout pane

For the history of this feature in the Chromium open-source project, see Issues 1166710 and 1175699.

See also:

Keyboard navigation improvements for network requests

Previously, you were not able to expand or collapse the chain of requests using the arrow keys on the keyboard in the Initiator pane, unlike the DOM in the Elements tool. When a network request is selected in the Network tool, the Initiator pane displays the chain of requests that initiated the currently selected request.

In Microsoft Edge version 90, you can expand or collapse the chain of requests using the arrow keys on the keyboard in the Initiator pane. The focused network request in the chain is also now highlighted.

Click a Network request and then click the Initiator pane:

Click a Network request and then click the Initiator pane

Expand or collapse the request initiator chain and follow the highlighted row:

Expand or collapse the request initiator chain and follow the highlighted row

To learn more about initiators in the Network tool, see Display initiators and dependencies.

For the history of this feature in the Chromium open-source project, see Issues 1158276 and 1160637.

Filtering in the Console is more consistent

While you filter with the Console Sidebar, the filters in the Log Levels dropdown list aren't available. Previously, the Log Levels dropdown list was highlighted when you hovered over it, even while a filter from the Console Sidebar was selected. In Microsoft Edge version 90, the Log Levels dropdown list is no longer highlighted when you hover over it while a filter from the Console Sidebar is selected.

To learn more about filtering in the Console, see Filter Messages in Console features reference.

Previously, if you open the Console sidebar and hover on Default levels, it was highlighted:

Previously, if you open the Console sidebar and hover on Default levels, it was highlighted

Starting in Microsoft Edge 90, if you click the Console sidebar and hover on Default levels, it doesn't highlight:

Starting in Microsoft Edge 90, if you click the Console sidebar and hover on Default levels, it doesn't highlight

Announcements from the Chromium project

The following sections announce additional features available in Microsoft Edge that were contributed to the open-source Chromium project.

The Console now escapes double-quote characters

Previously, the Console didn't output valid double-quote (") characters in JavaScript strings. Starting in Microsoft Edge version 90, the Console outputs JavaScript strings using escaped double-quote (") characters:

The Console outputs JavaScript strings using escaped double quote () characters

For the history of this feature in the Chromium open-source project, see Issue 1178530.

See also:

Emulate the CSS color-gamut media feature

The color-gamut media query emulates the approximate range of colors that are supported by the browser and device that you're testing. The dropdown list under Emulate CSS media feature color-gamut contains color spaces that DevTools can emulate. For example, to trigger a color-gamut: p3 media query, select color-gamut: p3 from the dropdown list.

To emulate the CSS color-gamut media feature:

  1. To open DevTools, right-click the webpage, and then select Inspect. Or, press Ctrl+Shift+I (Windows, Linux) or Command+Option+I (macOS). DevTools opens.
  2. In DevTools, on the main toolbar, select the Rendering tab. If that tab isn't visible, click the More tabs (More tabs icon) button, or else the More Tools (More Tools icon) button. The Rendering tool opens.
  3. In the Emulate CSS media feature color-gamut dropdown list, select a color-gamut option:

Emulate the CSS color-gamut media feature

To learn more about the color-gamut feature, see Color Display Quality: the 'color-gamut' feature.

For the history of this feature in the Chromium open-source project, see Issue 1073887.

See also:

Improved tooling for Progressive Web Apps

PWA installability warning in the Console

The Console now displays a more detailed installability warning message for Progressive Web Apps (PWAs), with a link to Improving Progressive Web App offline support detection.

PWA installability warning in Console tool

See also:

PWA description length warning in the Manifest pane

In the Application tool, the Manifest pane now displays a warning message if the manifest description exceeds 324 characters:

PWA description truncate warning

For the history of this feature in the Chromium open-source project, see Issues 965802, 1146450, and 1169689.

See also:

New Remote Address Space column in the Network tool

In the Network tool, the new Remote Address Space column displays the network IP address space of each network resource. To display the new Remote Address Space column:

  1. In DevTools, open the Network tool.

  2. In the Requests table (the main, lower part of the Network tool), right-click the header row, and then select Remote Address Space:

    In the right-click menu, select Remote Address Space

    The Requests table now displays the Remote Address Space column:

    The Requests table now displays the Remote Address Space column

To view the history of this feature in the Chromium open-source project, see Issue 1128885.

See also:

Display allowed and disallowed features in the Frame details view

In the Application tool, the Frames node in the lower left opens the Frame details view. The Frame details view now includes a Permissions Policy section, which displays a list of allowed and disallowed browser features:

Allowed and disallowed features based on the Permission Policy

This list is controlled by the Permissions Policy web platform API, which allows a webpage to use, or blocks a webpage from using, specified browser features in an individual frame or in iframes that the frame embeds.

For the history of this feature in the Chromium open-source project, see Issue 1158827.

See also:

New SameParty column in the Cookies pane

The Cookies pane in the Application tool now displays the SameParty attribute for each cookie:

SameParty column in the Cookies pane

The SameParty attribute is a new boolean attribute to indicate whether a cookie is included in requests to origins of the same First-Party Sets.

For the history of this feature in the Chromium open-source project, see Issue 1161427.

See also:

fn.displayName property in the Console tool is now deprecated

Previously, the fn.displayName property allowed you to control debug names for functions to display in error.stack and in DevTools stack traces. Starting in Microsoft Edge version 90, the fn.displayName property is now deprecated, and replaced by the fn.name property:

An example of the fn.name property to control debug names for functions

Use the standard Object.defineProperty method to define the fn.name property. To learn more about fn.name, see Function.name.

For the history of this feature in the Chromium open-source project, see Issue 1177685.

See also:

Full accessibility tree view in the Elements tool

Experimental feature

This experiment provides a full accessibility tree view in the Elements tool. The Accessibility tab (grouped with the Styles tab) provides a partial accessibility tree view, that displays the direct ancestor chain from the root node to the inspected node. After you turn on this experiment and reload DevTools, click the button area at the top of the Elements panel to switch the display in the Elements tool for all elements on the webpage.

To display the DOM tree view, click the Switch to DOM Tree view button area at the top:

Displaying the DOM Tree view

To display the full accessibility tree, click the Switch to Accessibility Tree view button area at the top:

Displaying the full accessibility tree view

To turn on the experiment, see Turning an experiment on or off and select the checkbox next to Enable full accessibility tree view in the Elements panel.

For the history of this feature in the Chromium open-source project, see Issue 887173.

See also:

Note

Portions of this page are modifications based on work created and shared by Google and used according to terms described in the Creative Commons Attribution 4.0 International License. The original page is found here and is authored by Jecelyn Yeen (Developer advocate, Chrome DevTools).

Creative Commons License This work is licensed under a Creative Commons Attribution 4.0 International License.