...
Table of contents
Table of Contents |
---|
Warning | ||
---|---|---|
| ||
Before any interaction with OFBiz in Eclipse be sure to run "gradlew eclipse". This generate the information Eclipse needs about the OFBiz project. |
Run OFBiz in debug mode and debug in Eclipse
Step 1: Run OFBiz in debug mode
Normally we start OFBiz with the command line
...
To start in debug mode use the command line
R17.12 and R18.12
Code Block |
---|
gradlew ofbizDebug
|
Trunk and after R18.12
Code Block |
---|
gradlew ofbiz --debug-jvm
|
This run in debug mode listening for a socket connection on port 5005 for a debugger to connect. So unlike with Ant you have to connect a Debugger at this port for OFBiz to continue.
Step 2: Connect to OFBiz with Eclipse as a Debugger
Before connecting you have to create a new debug configuration.
...