Set Debug Mode for Troubleshooting - Windows - Set Debug Mode for Troubleshooting - Windows - Alfresco - Alfresco Content Services - Alfresco/Alfresco-Content-Services/23.4/Alfresco-Content-Services/Configure/Repository/Tune-the-JVM/JVM-Settings/Set-Debug-Mode-for-Troubleshooting-Windows - 23.4 - 23.4

Alfresco Content Services

Platform
Alfresco
Product
Alfresco Content Services
Release
23.4
License
ft:lastPublication
2026-09-18T00:52:02.442000
ft:locale
en-US

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.