on ‎2018 Mar 06 11:55 PM
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 :).
Request clarification before answering.
Hi Jose,
In order to debug Hybris in Ee you need to perform these steps:
Start Hybris in Debug Mode by executing 'hybrisserver.bat debug' on Windows or './hybrisserver.sh debug' on Linux/Mac.
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,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
In debug configuration, add platform as the entry point.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.