The Debug mode in eXo Platform is generally like other Java applications using JDWP that enables debugging by Eclipse.
In Tomcat
In eXo Platform Tomcat, the Debug mode is turned on by appending --debug
to the startup command:
./start_eXo.sh --debug
This parameter adds the following JVM option:
-agentlib:jdwp=transport=dt_socket,address=8000,server=y,suspend=n
If you want to change the port (address=8000
), you have to
customize environment variables
and edit the following variable: EXO_DEBUG_PORT="8000"
.
In JBoss
In eXo Platform JBoss, you should provide a port in the startup command: ./bin/standalone.sh --debug 8787.