MicrosoftEdge / DevTools

Feedback and discussions about Microsoft Edge Developer Tools
MIT License
154 stars 50 forks source link

Symbol Server sourcemaps not showing due to CORS issue? #191

Open burnnat opened 11 months ago

burnnat commented 11 months ago

Currently sourcemaps from Azure Artifacts symbol server are not loading for me, and looking in the "Source Maps Monitor" panel they all list the following error: "Unknown error requesting source map: Failed to fetch".

If I open the internal devtools console I see a lot of CORS errors that seem related: console errors

I know this had been working for me previously but I haven't tried very recently so I'm not sure when that might have changed. If there are any other details I can provide, let me know!

Edge version: 118.0.2088.46 (Official build) (64-bit)

AB#47103421

captainbrosset commented 11 months ago

Thanks so much for raising this. I'll make sure this is tracked by the team.

burnnat commented 1 week ago

@captainbrosset Has anyone been able to look into this? I still see the same behavior despite following the setup article instructions exactly, and it doesn't seem to matter whether a PAT or Active Directory connection is used. If I launch the browser using .\msedge.exe --disable-web-security --user-data-dir="..." then the sourcemaps load great, but is there any possible solution that doesn't involve completely disabling the browser CORS policy?

captainbrosset commented 1 week ago

@robpaveza for insights on the above.