Set Debug Mode for Troubleshooting - Windows - Alfresco Content Services - 23.4 - 23.4 - Ready - Alfresco - external

Alfresco Content Services

Platform
Alfresco
Product
Alfresco Content Services
Release
23.4
License

If you're a Windows user, register Tomcat as a Windows service:

  • In the installation directory, locate the properties.ini file and copy the value of the tomcat_unique_service_name parameter (for example, alfrescoTomcatnum1).
  • From the /tomcat/bin directory, run the following command at a command prompt: tomcat7w.exe //ES//<alfrescoTomcatnum1> , where <alfrescoTomcatnum1> is the value from your tomcat_unique_service_name parameter.
  • Open the alfrescoTomcatnum1 properties window, select the Java tab and the Java Options field, and add the following lines of code on two separate lines:
    -Xdebug
    -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=8000

    where address is a port for your system.