- SAP Enterprise Commerce调试环境搭建
- Hybris Enterprise Commerce Platf
- SAP Commerce Cloud 构建环境和最终运行环境的区
- SAP Commerce Cloud 构建环境类型介绍
- SAP Commerce Cloud 架构概述
- SAP Commerce Cloud 里的 Media 概念简述
- Hybris Commerce 在eclipse中开发和DEBU
- SAP Commerce Cloud Storefront 框架
- 使用 Recipe 安装 SAP Commerce Cloud
- 如何通过Restful API的方式读取SAP Commerce
This blog is written to demonstrate how to setup debug environment for Hybris ECP(Enterprise Commerce Platform).
(1) start Hybris server via debug option

(2) import folder <hybris installation folder>hybris\bin into Eclipse.
Right click on the extension you want to debug. In my example it is yacceleratorstorefront.

Choose Debug Configuration from context menu. Use Remote Java Application for debug configuration and connect to port 8000.

(3) Set breakpoint in file \bin\ext-template\yacceleratorstorefront\web\src\de\hybris\platform\yacceleratorstorefront\filters\cms\CMSSiteFilter.java.
And access the storefront url below and try to open a catalog:

Then breakpoint is triggered:


After you press continue in debugger, you could observe the detail page with url inspected in debugger as expected.
要获取更多Jerry的原创文章,请关注公众号"汪子熙":

网友评论