1.5.1. Debug mode

Warning

You are looking at documentation for an older release. Not what you want? See the current release documentation.

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.

In Native Installer

To turn on this mode in Native Installer, you have to customize environment variables and edit the following variables:

EXO_DEBUG=true
EXO_DEBUG_PORT="8000"

Then restart Tomcat for these changes to take effect.

Copyright ©. All rights reserved. eXo Platform SAS
blog comments powered byDisqus