azureexo-platform-community

Enable development or debug mode

Development or debug modes are disabled by default in the Bitnami Stack for eXo Platform because of their performance impact. Enabling these modes will help you debug eXo Platform in case of problems.

Development Mode

Follow these steps:

  • Open the /opt/bitnami/apps/exoplatform/scripts/setenv-customize.sh file in a text editor. Uncomment the lines below so they look like this:

      EXO_DEV=true
      EXO_JCR_SESSION_TRACKING=true
      EXO_TOMCAT_UNPACK_WARS=true
    
  • Restart Tomcat in order for these changes to take effect, either using the manager or manually:

    $ sudo /opt/bitnami/ctlscript.sh restart tomcat
    

Debug Mode

Follow these steps:

  • Open the /opt/bitnami/apps/exoplatform/scripts/setenv-customize.sh file in a text editor. Uncomment the lines below so they look like this:

    EXO_DEBUG=true
    EXO_DEBUG_PORT="8000"
    
  • Restart Tomcat in order for these changes to take effect, either using the manager or manually:

    $ sudo /opt/bitnami/ctlscript.sh restart tomcat
    

You can find more information about these modes in the documentation for Debug mode and Development mode.

Last modification September 4, 2018