MicrosoftEdge / DevTools

Feedback and discussions about Microsoft Edge Developer Tools
MIT License
151 stars 49 forks source link

3D view not working when using `--disable-default-apps` flag #212

Open captainbrosset opened 5 months ago

captainbrosset commented 5 months ago

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