I have a Visual Studio ASP.NET Core MVC app with lots of Javascript / TypeScript that I need to debug. Up to now, I have been successfully using the Script Debugging feature.
I have now incorporated Azure Entra Id (formally Azure B2C) for authentication. However, with Script Debugging enabled, I have to log on to my own web site (in localhost) every time I run the app. If I turn off Script Debugging, this is not the case as the credentials are persisted between each Visual Studio stop/start debug session.
When you are running under Script Debugging, it opens Chrome in some special mode that does not persist cookies (apparently) and I believe this is the source of the problem.
Does anyone know how to have Script Debugging and Azure B2C both enabled at the same time and for the browser to maintain the credentials between the stop/start debug session?