Debug your Sitecore 10 Rendering Host in docker


Hello, dear Sitecorians! The Sitecore 10 release is the best ever, Sitecore + ASP.Net Core = What a dream! πŸ™‚

I hope you guys have followed Nick’s(techphoria414) tweets, if not here they are:
#Sitecore10bits

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):

It should, of course, be – Managed(CoreCLR):

And now the debugger works like charm!

That’s all for now folks πŸ™‚


One thought on “Debug your Sitecore 10 Rendering Host in docker

Leave a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.