How would you debug the Sitecore Content Delivery role that is running on containers?
How would you debug the Sitecore Content Delivery role that is running on containers?
To debug the Sitecore Content Delivery role running on containers, the most effective approach is to attach to the w3wp.exe process of the container from your IDE. This allows a developer to interactively debug the code, set breakpoints, and step through the execution process, which is particularly useful for identifying and resolving issues within the code.
A is correct: https://doc.sitecore.com/xp/en/developers/103/developer-tools/debug-code-running-in-containers.html
Correct answer A In the list of running containers, right-click on the one that you want to debug, and click Attach to Process: