Encountering difficulties stopping at breakpoints in an asp.net core project with an angular 8.0 app located in a subfolder within ClientApp. The app I need to set a breakpoint in is located at clientapp\apps\microsympan\app\src\app\app.component.ts.
When running in Visual Studio Code with the following settings in launch.json:
"webRoot": "${workspaceFolder}/apps/microsympan/app"I am able to set and hit breakpoints.
In Visual Studio, I have made the following settings: 1) In Startup.cs:
app.UseSpa(spa => {
spa.Options.SourcePath = "ClientApp/apps/microsympan/app";
if (env.IsDevelopment()) { spa.UseAngularCliServer(npmScript: "start microsympan") }
});
2) In the csproj file:
clientapp\apps\microsympan\appHowever, I am unable to set breakpoints in Visual Studio, except when set in Chrome. Is this a bug, a configuration issue, or is there a solution?
Thank you in advance.