Hello All,
I am trying to run AEM in debug mode. I am using the following command to run.
java -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=8000 -XX:+HeapDumpOnOutOfMemoryError -XX:MaxPermSize=512M -Xmx1280m -Dorg.apache.sling.commons.log.level=INFO -jar AEM_6.0_Quickstart.jar -p 4502 -verbose -nofork
In eclipse I am doing the following steps:
To start a remote debugging session from Eclipse, do the following:
When I do this and debug the project, I am getting the following error.
Failed to connect to remote VM. Connection refused.
Connection refused: connect
Can you please help me with this ?
Solved! Go to Solution.
Views
Replies
Total Likes
Hi Viswanath,
Refer them for the command to run for debug mode
https://helpx.adobe.com/experience-manager/kb/CQ5HowToSetupRemoteDebuggingWithEclipse.html
http://www.adobecqfordummies.com/blog/view/145/debugging-cq5-java-code-using-eclipse
Views
Replies
Total Likes
Hi Viswanath,
Refer them for the command to run for debug mode
https://helpx.adobe.com/experience-manager/kb/CQ5HowToSetupRemoteDebuggingWithEclipse.html
http://www.adobecqfordummies.com/blog/view/145/debugging-cq5-java-code-using-eclipse
Views
Replies
Total Likes
What version of Eclipse are you using?
https://helpx.adobe.com/experience-manager/using/creating-aem-project-using-eclipse.html
Try this article - it was tested recently on AEM 6.
Views
Replies
Total Likes