What's New in DevTools (Microsoft Edge 106)

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.

Introducing the Command Palette

The Command Palette experiment was removed in Microsoft Edge 123.

In Microsoft Edge 106, you can now enable and use the Command Palette experiment. Command Palette makes it possible to access browser management and developer tools commands with just one keyboard shortcut: Ctrl+Shift+Spacebar.

To enable the Command Palette experiment:

  1. Go to edge://flags. Then in the Search flags text field, start typing Command Palette.

  2. In the Command Palette dropdown menu, select Enabled:

    The keyboard shortcut for Command Palette in the flags page for version 106

    Note the keyboard shortcut, which is shown in the Command Palette section on the edge://flags page.

  3. Click the Restart button, which appears in the lower right when you select Enabled.

To quickly access the available browser management commands and DevTools commands, after you've enabled the experiment:

  1. In Microsoft Edge (with or without DevTools open), press Ctrl+Shift+Spacebar.

  2. Start typing. The commands are filtered based on your input characters, and are grouped into categories such as Suggestions, History, and DevTools:

    Microsoft Edge Command Palette

  3. To narrow the filtering to list DevTools commands only, type the greater-than (>) character:

    Microsoft Edge Command Palette entering > to select DevTools commands

Let us know what commands you'd like to see in future versions of Microsoft Edge, by posting a comment in Issue 73: [feedback] Command Palette experiment in the MicrosoftEdge/DevTools repo!

Filter and automatically fix code issues in DevTools for Visual Studio Code

The Microsoft Edge DevTools extension for Visual Studio Code now provides Quick Fix options, allowing you to fix issues automatically.

To access the Quick Fix options:

  1. Hover over an issue that's reported by the DevTools extension, indicated by a wavy underline in your code. A lightbulb icon appears next to the issue.

  2. Click the lightbulb (lightbulb icon) icon. The Quick Fix menu appears:

    Quick Fix options

  3. Select whichever Quick Fix you want to use to resolve the issue or to stop reporting it as an issue. Selecting to ignore the issue automatically creates a .hintrc file which tells the extension to ignore this issue type and not report it again.

See also:

DevTools now uses less disk space when caching sourcemaps

Starting in Microsoft Edge 101, DevTools began caching sourcemaps in IndexedDB to reduce the amount of network requests fetching your sourcemaps. However, this change could potentially take up a lot of disk space if these sourcemaps are never removed.

In Microsoft Edge 106, this issue has been fixed, by removing any sourcemaps that haven't been accessed in 30 days from IndexedDB storage. Additionally, sourcemaps served from localhost are also no longer cached. Thank you for sending us feedback about this issue!

To understand how DevTools fetches and caches your sourcemaps, watch the Load status column in the Source Maps Monitor tool. When you first load the webpage, the Source Maps Monitor tool shows that the source maps aren't cached yet:

Source Maps Monitor tool, upon first load

When you refresh the webpage, the Source Maps Monitor tool shows that the cached source maps are used:

Source Maps Monitor tool, upon second load

To clear the IndexedDB cache and force DevTools to re-load sourcemaps, run the Clear source maps cache command in the Command Menu. See Run commands in the Command Menu.

For history, see Issue 89.

See also:

Chromium color themes have been deprecated

To improve reliability, the Chromium Light and Chromium Dark themes have been deprecated. Users who previously had these themes selected will be automatically migrated to the Light+ or Dark+ theme, respectively:

DevTools in Light+ theme:

DevTools in Light+ theme

DevTools in Dark+ theme:

DevTools in Dark+ theme

There are many DevTools color themes to choose from, such as Monokai and Solarized. To change the color theme in DevTools, click the Settings (Settings icon) button, and then in the Preferences page, in the Theme dropdown menu, select a theme:

Setting the DevTools theme to Monokai

See also:

Accessibility improvements in Focus Mode and high contrast mode

Dock location and Activity Bar location buttons in Focus Mode now work better with screen readers

In Microsoft Edge 105, Focus Mode received several improvements, including new Dock location and Activity Bar location buttons. In Microsoft Edge 106, these new buttons now work better with assistive technologies, such as screen readers.

Screen readers now announce which Dock location button or which Activity Bar location button is currently selected, and the number of buttons, representing the available location options:

The redesigned Docking menu in Focus Mode

See also:

Computed styles are easier to see in high contrast mode

In high contrast mode, in previous versions of Microsoft Edge, the expand and collapse buttons for computed styles didn't render correctly, in the Computed tab in the Elements tool. In Microsoft Edge 106, this issue has been fixed. The expand and collapse buttons are now visible in high contrast mode:

Computed styles in high contrast mode

See also:

Announcements from the Chromium project

Microsoft Edge 106 also includes the following updates from the Chromium project: