Skip to main content

Notifications

Announcements

No record found.

Supply chain | Supply Chain Management, Commerce
Suggested answer

Unable to debug the EFRSample solution in Store Commerce

Posted on by 392

Hello Everyone,

Hope all are doing well !!!

We are trying to debug the hardware station in store commerce. Unfortunately, the breakpoints are not enabling after attached the processor of Store commerce. 

Can you please guide us how can we debug the hardware extension sample in store commerce?

pastedimage1664531976976v1.png

Thanks in Advance,

Pankaj

  • RE: Unable to debug the EFRSample solution in Store Commerce

    Hello,

    Based on your screenshot it looks to me like you are using Visual Studio instead of the Visual Studio Code that is suggested when using Store Commerce.

    If you are more comfortable with debugging/developing in the good old VS, then you could gravitate towards Shared Hardware Station, configuring that in D365 and installing is as a stand-alone application. This way you will be able to attach to it vis IIS process as you did in your original screenshot.

  • Suggested answer
    RE: Unable to debug the EFRSample solution in Store Commerce

    Hi Pankaj,

    Please take a look into the article below, please pay special attention in 3 points that normally partners, and customers are missing:

    1) Install the Store commerce app with parameter --enablewebviewdevtools

    2) Don not open VS code as admin;

    3) the .vscode folder should be created in the root folder of your solution.

    learn.microsoft.com/.../sc-debug

    Debugging Store commerce app samples:

    pastedimage1664871535744v1.png

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,269 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans