This guide is applicable for OFBiz 16.11.x and above. Assume that Intellij IDEA is setup according to
Setup Intellij IDEA IDE for OFBiz Framework.
Step-by-step guide
Navigate to
Run
->
Edit Configurations…
Click
+
to add new configuration, and choose
Gradle.
Fill in the following fields:
Name:
My OFBiz
Gradle project:
<path to build.gradle>
Tasks:
ofbiz
Click
OK
.
Navigate to
Run
->
Debug…
, choose
My OFBiz
.
Click
Stop ‘My OFBiz’
when done with debugging.