Today’s post will be very short. It’s about attaching the debugger to your docker containers and as always the documentation is really good – DevEx Containers Documentation
So why a post then? Well, in my case I wanted to debug the rendering host(the one that runs in Asp.Net Core 3.1) So I attached the debugger but nothing happened, I could not understand why. But after some serious hair pulling, I noticed that I attached to the wrong code type – Managed(v4.6, v4.5, v4.0):
And now the debugger works like charm!
That’s all for now folks 🙂