How to debug Hybris application?
As Hybris runs in builin server, you can debug it as Remote Java Application from Eclipse
- start the server with
hybrisserver.bat debug
(In windows) or./hybrisserver.sh debug
(In Linux) - Import all required
extensions
in eclipse - Open any Java file (
cartPageController.java
) - Open
Run > Debug Configurations
(shortcut:Alt + r + b
) - check for
Remote Java Application
in your left panel of popup - Right click on
Remote Java Applicaiton
and click on new - Create a new configuration by clicking on
Apply
- Click on
Debug
to start yourdebug mode
Nowe enjoys the debugging by putting breakpoints.
Comments
Post a Comment