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
extensionsin eclipse - Open any Java file (
cartPageController.java) - Open
Run > Debug Configurations(shortcut:Alt + r + b) - check for
Remote Java Applicationin your left panel of popup - Right click on
Remote Java Applicaitonand click on new - Create a new configuration by clicking on
Apply - Click on
Debugto start yourdebug mode
Nowe enjoys the debugging by putting breakpoints.
Comments
Post a Comment