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:

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 Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

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