microsoft / vscode-edge-devtools

A VSCode extension that allows you to use browser devtools from within the editor. The devtools will connect to an instance of Microsoft Edge giving you the ability to alter CSS styling, perform diagnostics, and debugging. Get it now at http://aka.ms/devtools-for-code
https://docs.microsoft.com/microsoft-edge/visual-studio-code/microsoft-edge-devtools-extension
MIT License
754 stars 261 forks source link

Error On Headless Instance: WebGL2 is required but not supported. #2269

Closed arbonaa closed 1 month ago

arbonaa commented 4 months ago

Environment (please complete the following information):

Describe the bug:

When running a project that uses WebGL2, the headless instance (the non headless works) fails with the error: "WebGL2 is required but not supported."

Repro steps:

Create a React Project and use a library that required WebGL2, for example I am using ArcGIS API for Javascript.

Expected behavior:

The webpage should load the component using WebGL2

Additional context:

AB#52139019

captainbrosset commented 4 months ago

Thanks for filing this. I'll mark this as tracked so that it's part of our dev team backlog. I don't know if this will be easy to technically fix however.

vidorteg commented 1 month ago

As mentioned this has technical limitations for the embeded version (screencast) but should work fine for the full browser (non headless). Should be partially fixed by:

https://github.com/microsoft/vscode-edge-devtools/pull/2432