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
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'
What do you mean by "Now you can run 'liferay debug'"?
ReplyDeleteWhen i took the steps i get error "Can not connect to server"