Debug your Sitecore 10 Rendering Host in docker

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

No alt text provided for this image

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

No alt text provided for this image

And now the debugger works like charm!

That’s all for now folks 😊

To view or add a comment, sign in

More articles by Göran Halvarsson

Insights from the community

Others also viewed

Explore topics