Java Remote Debugging
Debugging
To connect for remote java debugging of Eclipse Dirigible, follow the next steps:
-
Start the Tomcat server in JPDA (debug) mode:
Run Tomcat in JPDA mode
./catalina.sh jpda run
./catalina.sh jpda run
catalina.bat jpda run
Run the docker image with Java Debugging Options as described here.
-
Create new
Debug Configuration
: -
New
Remote Java Application
configuration:Note
- Double click on the
Remote Java Application
to create new configuration. - Update the
host
andport
properties, if needed.
- Double click on the
-
Press the
Debug
button to start new remote debug session.
-
Create new
Debug Configuration
from theEdit Configurations..
option: -
Add new
Remote JVM Debug
configuration using the+
button and double click onRemote JVM Debug
: -
Use the configuration provided on the screenshot below, update the
host
andport
properties if needed: -
Press the
Debug
button to start new remote debug session.