
You must specify either file or url to launch Microsoft Edge against a local file or a url. Launchīelow are two example launch.json configs with "request": "launch". You can create this file manually, or Code will create one for you if you try to run your project, and it doesn't exist yet. vscode/launch.json file in the root directory of your project. Using the url parameter you simply tell VS Code which URL to either open or launch in Edge. Both modes require you to be serving your web application from a local web server, which is started from either a VS Code task or from your command-line. The extension operates in two modes - it can launch an instance of Microsoft Edge navigated to your app, or it can attach to a running instance of Edge. Pick a launch config from the dropdown on the Debug pane in Code. When your launch config is set up, you can debug your project.
Follow these instructions to enable side by side installations. \MicrosoftEdgePolicyTemplates\windows\admx\\*.adml \MicrosoftEdgePolicyTemplates\windows\admx\*.admx After extracting the template files above, copy the files as shown below:. Download Microsoft Edge group policy templates. Select 'Microsoft Edge' from the 'Web Browser' submenu in the debug target dropdown, and then press F5.įor enabling both Microsoft Edge (EdgeHTML) and Microsoft Edge (Chromium) in Visual Studioīy default, installing Microsoft Edge (Chromium) will overwrite Microsoft Edge (EdgeHTML).
Set a breakpoint in your JavaScript/TypeScript file. Create an ASP.Net/ASP.Net Core Web Application. Debugging Microsoft Edge (Chromium) is supported for VS versions >= 15.9.19. Debugging Microsoft Edge (EdgeHTML) is supported for VS versions >= 15.7. Install the latest version of Visual Studio. Install a supported version of Windows. Open the folder containing the project you want to work on.įor debugging Microsoft Edge (EdgeHTML or Chromium) inside Visual Studio. Getting Started For debugging inside VS Code Any features that aren't script debugging. Debugging eval scripts, script tags, and scripts that are added dynamically. Setting breakpoints, including in source files when source maps are enabled. To see if your Windows version supports debugging Microsoft Edge (EdgeHTML) via Edge DevTools Protocol, please refer here. This extension can debug any version of Microsoft Edge (Chromium) but only some versions of Microsoft Edge (EdgeHTML). Note: This extension currently supports both Microsoft Edge (Chromium) and Microsoft Edge (EdgeHTML). This is also used to enable JavaScript debugging inside the Microsoft Edge browser when launched from ASP.Net Projects in Visual Studio. Debug your JavaScript code running in Microsoft Edge from VS Code and Visual Studio.Ī VS Code extension to debug your JavaScript code in the Microsoft Edge browser.