Another option is using the VS Code command palette and running the “Debug: Open Link” command to debug in Chrome, Edge or Node.js. For Edge, Microsoft has added an extra “inspect” button in the debug toolbar, which launches Edge Developer Tools within a VS Code instance. Microsoft added this button in the May 2021 release of VS Code. Microsoft noted in a blog post:
“The first time you activate this button, the editor will ask you to install the Microsoft Edge DevTools for Visual Studio Code extension. Once you have this one installed you won’t be prompted again.”
Separately, Microsoft has been working on ways to improve security for developers through a feature it calls Workplace Trust, which provides “extra security against code execution when browsing unfamiliar source code.”
Microsoft has introduced a Restricted Mode “where potentially harmful functionality is disabled so you can more safely browse the code and eventually make an informed decision.” But Microsoft is still refining its approach to pop-up notifications every time developers open up new folders.