Powered By Blogger

Thursday, August 4, 2016

Tomcat debug ALfresco

Hi Team ,
Follow below steps for setting up the debugger when Alfresco is running as service in the Windows environment.

1.       Navigate the folder where alfresco is been installed in the Command prompt.
Cd D:\Installs\alfrescoServer\tomcat\bin
2.       Now run the below command
.\tomcat7w.exe //ES//alfrescoTomcat
3.       It will open the below popup

4.       In this open the tab Java and add the below values in the Java options
-Xdebug
-Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=n


5.       Click Apply and OK. By doing this we have made service aware of debugging.
6.       Restart the alfresco server.
7.       In Eclipse Connect to the remote application by configuring the port 8000

8.       Click on Debug and Happy debugging J


No comments:

Post a Comment