This blog is written to demonstrate how to setup debug environment for Hybris ECP(Enterprise Commerce Platform).
1. start Hybris server via debug option
以debug模式啟動Hybris伺服器

3. Set breakpoint in file \bin\ext-template\yacceleratorstorefront\web\src\de\hybris\platform\yacceleratorstorefront\filters\cms\CMSSiteFilter.java.
以打開storefront的UI為例,在上面提到的檔案裡設定斷點。用浏覽器打開UI,斷點觸發:
And access the storefront url below and try to open a catalog:
從調試器裡觀察到的url和最後打開的産品明細頁面的url一緻。
After you press continue in debugger, you could observe the detail page with url inspected in debugger as expected.