Friday, December 7, 2012

Setup liferay tomcat server as debug mode with eclipse

Its an simple way to setup liferay tomcat server as debug mode with eclipse

1.Replace the property set DEBUG_OPTS= with below property in catalina.bat in liferay-portal-5.2-ee-sp3\tomcat-6.0.18\bin

set DEBUG_OPTS=-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=8888


2. Now setup in eclipse goto debug-->debug configuration-->Remote Java Application

do the following config as shown below


That's it!, Configuration is over.
Now you can run 'liferay debug' 

1 comment:

  1. What do you mean by "Now you can run 'liferay debug'"?
    When i took the steps i get error "Can not connect to server"

    ReplyDelete