I am having an issue with breakpoints not being hit in Debug mode for any of the solution's microservices, regardless of whether I run them individually or as multiple startup projects alongside my web app.
I don't get any warnings whatsoever. I run the app on the browser which in turn calls the MS, but the MS responds without the breakpoint ever being hit. There is one caveat though, we added swagger on one of the MSs and through that, the breakpoints are hit as expected.
I am using VS 2022 (recently upgraded to 17.3), Dependency Injection and .net core 6. Any ideas?
CodePudding user response:
For anyone struggling with this, I managed to find a solution.
Because my MSs were running on IIS
, I went through every single MS's launch
settings and I set the process to IIS
.
I then re-applied the solution's Multiple Startup Projects, and breakpoints are now hit as expected.