3D view not working when using `--disable-default-apps` flag
Originally posted by @vanowm in https://github.com/MicrosoftEdge/DevTools/issues/186#issuecomment-1903013271:
When Edge is launched from VSCode debugger, 3D View is not available.
Here is a command line used to launch Edge:
"C:\Users\Dev\AppData\Local\Microsoft\Edge SxS\Application\msedge.exe" --disable-background-networking --disable-background-timer-throttling --disable-backgrounding-occluded-windows --disable-breakpad --disable-client-side-phishing-detection --disable-default-apps --disable-dev-shm-usage --disable-renderer-backgrounding --disable-sync --metrics-recording-only --no-first-run --no-default-browser-check "--user-data-dir=e:\Program Files\VSCode\data\user-data\User\workspaceStorage\f8081997708878520f20c6fb314afe8f\ms-vscode.js-debug\.profile" --auto-open-devtools-for-tabs about:blank --remote-debugging-pipe
The issue here is --disable-default-apps flag. If Edge was launched with this flag just once, there is something left in the profile which prevents 3D View to initialize even after edge was launched without that flag.
The only way to bring 3D View back is to launch Edge without --disable-default-apps and --disable-background-networking flags. After that, we can add back --disable-background-networking flag and '3D View` will still work.
AB#48606040
I cannot access the 3D View either, on any site. Restarting the browser didn't help. It keeps showing the following message:
"Some Microsoft Edge Devtools components need to be installed, please reopen Devtools to complete intallation. If you still see this message after reopening please verify that you are connected to internet and try again."
I'm not using any "apps" or "background" related flags, and I'm definitely connected to the internet. I've tested with the setting "Continue running background extensions and apps when Edge is closed" enabled and disabled. I'm on Windows 10, Edge v. 140.0.3485.54 (Official build) (64-bit).