When you purchase through links on our site, we may earn an affiliate commission. Here’s how it works.

Microsoft adds Copilot to Dev Tools in Edge to help developers with troubleshooting

A Copilot logo with a Windows 10 stock wallpaper background

With the release of Microsoft Edge 120, Copilot is available in more areas, giving web developers a helping hand when troubleshooting errors and warnings. Microsoft published a post on the official Microsoft Edge Blog detailing how Copilot can make life easier for developers, especially when dealing with cryptic messages.

Errors and warnings are something developers deal with regardless of their experience. While some messages are straightforward and easy to understand, other warnings will grind your gears hard. Reading the DevTools console in Microsoft Edge is sometimes a real challenge. Microsoft wants Copilot to be your always-available coworker capable of explaining complicated topics and saving you time on Googling things.

Starting with Edge 120, the DevTools console places a small Copilot icon next to every error or warning. You can click that icon to launch Copilot and generate a detailed explanation of a particular message.

Copilot in Microsoft Edge DevTools

Besides, you can ask Copilot to explain any code snippet from the Sources tool. Select the part you do not understand, right-click it, and press "Copilot: Explain these lines of code." After that, Edge will open Copilot in a sidebar and present you with the necessary information. DevTools will give Copilot the context to understand and explain a specific problem.

Copilot in Microsoft Edge DevTools

It is worth noting that Copilot for DevTools is still under active development, so you must enable it manually in Microsoft Edge 120 and newer. Here is how to do it:

  1. Sign in with your Microsoft Account in the Edge browser and turn on the Copilot icon in the upper-right corner of the screen under Settings > Sidebar > Copilot.
  2. Type edge://flags and search for "Explain DevTools with AI."
  3. Enable the flag and restart the browser.
  4. Launch DevTools with the F12 key and click a Copilot icon next to any warning or error.

You can learn more about using Copilot to troubleshoot errors in DevTools in the official documentation. Microsoft also wants to hear more from developers, and it encourages everyone to share their feedback, questions, comments, and ideas on GitHub.

Report a problem with article
Baldurs Gate 3
Next Article

Larian: Baldur's Gate 3 won't be added to Microsoft's Xbox Game Pass lineup

The TP-Link Deco AX3000
Previous Article

Get the TP-Link Deco AX3000 (3-pack) for its lowest-ever price on Amazon

Join the conversation!

Login or Sign Up to read and post a comment.

1 Comment - Add comment