Create debug.bat file parallel to aem jar with below command to start aem in debug mode
java -jar cq-author-p4502.jar -Dsling.run.modes=local -fork -forkargs -- -Xdebug -Xrunjdwp:transport=dt_socket,address=30303,suspend=n,server=y -Xmx1024m -XX:MaxPermSize=512m -XX:-UseSplitVerifier
Also from Eclipse go to
Run -> Debug Configurations -> Remote Java Application
Create new application and configure 'host' as 'localhost' & 'port' as '30303'
java -jar cq-author-p4502.jar -Dsling.run.modes=local -fork -forkargs -- -Xdebug -Xrunjdwp:transport=dt_socket,address=30303,suspend=n,server=y -Xmx1024m -XX:MaxPermSize=512m -XX:-UseSplitVerifier
Also from Eclipse go to
Run -> Debug Configurations -> Remote Java Application
Create new application and configure 'host' as 'localhost' & 'port' as '30303'
No comments:
Post a Comment