Friday, February 5, 2021

Simplest Way To Debugging Sitecore Commerce Engine

Different ways to debug sitecore commerce engine:


1. Processor:(This is the easiest way to debug Commerce)
Debug Sitecore Commerce Engine solution by attaching process in a same way as we do for Sitecore. 
Not w3wp.exe but by attaching Sitecore.Commerce.Engine.exe process.

processor



2. Hosting through Visual Studio
 Stop Commerce Authoring in IIS and Run Sitecore Commerce Solution from Visual Studio after making below changes in Sitecore Commerce Engine project:
    a. Set Profile to Engine
    b. Set App Url to Commerce Authoring url

Sitecore Commerce VS

























Then if everything is good, commerce engine will start running from Visual Studio.
authoring logs in cmd


No comments:

Post a Comment

Wishlist in Sitecore Commerce

In e-commerce, wishlist or saved products for later purchase is one of the important functionality. I have created simple plugin in sitecore...