Set up your local environment for debugging Sitecore Experience Commerce (XC) 9 Update 2 in Powerful Ways while being a friend!

In this video I am going to walk you through setting up your development environment for debugging Sitecore Experience Commerce (XC) 9 Update 2. As you are writing custom code to work in Sitecore Commerce Engine, you would also need to debug and test your code. For this purpose, it would help if you setup your solution to run the engine instance with your custom code. We will walk through:

* Setup SSL in Kestrel
* Explort/import client certificate
* Setup thumbprint in config.json

If you have any questions or concerns, please get in touch with me. (@akshaysura13 on twitter or on Slack).

Commands:

$pwd = ConvertTo-SecureString -String “sitecore” -Force -AsPlainText

Get-ChildItem -Path cert:\localMachine\my\

Get-ChildItem -Path cert:\localMachine\my\–thumbprint of localhost certificate– | Export-PfxCertificate -FilePath C:\localhost.pfx -Password $pwd