cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Debug Hybris in Eclipse

Former Member
0 Likes
5,601

Hi All

Does anyone knows how to debbug hybris in ee? I have run the app with command "hybrissserver.bat debug" and then in ee I tried to access it with the module "yb2bacceleratorstorefront" with Remove Java Application localhost and port 8000.

After executing the hybrisserver debug command I'm able to see the store page, however I'm not able to debug it.

https://localhost:9002/yb2bacceleratorstorefront/

Appreciate any help you can provide :).

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member

Hi Jose,

In order to debug Hybris in Ee you need to perform these steps:

  1. Start Hybris in Debug Mode by executing 'hybrisserver.bat debug' on Windows or './hybrisserver.sh debug' on Linux/Mac.

  2. Start Ee and go to Run -> Debug Configurations. Select Remote Java Application, right click it and select New. Type in your chosen name for the configuration. In the Project box select your storefront project that you imported to Ee. Keep connection type as 'Standard (Socket Attach)' and in the Connection properties insert Host: localhost and Port: 8000. In the source tab add your storefront to source lookup path. Apply the changes and start the Debug. You should see running threads. Now you can put breakpoints in your code and Hybris platform will stop at them.

Best regards,

Former Member
0 Likes

In debug configuration, add platform as the entry point.