Expand my Community achievements bar.

Guidelines for the Responsible Use of Generative AI in the Experience Cloud Community.
SOLVED

Cannot start the remote debug on AEM 6.1 in Eclipse

Avatar

Former Community Member

Hi,

I have created new projects using the AEM Developer Tools for Eclipse. And followed the steps described in this article (https://helpx.adobe.com/experience-manager/kb/CQ5HowToSetupRemoteDebuggingWithEclipse.html)  to setup the remote debug with Eclipse.

Every time I started the remote debug in Eclipse, I got the "Failed to connect to remote VM. Connection refused.Connection refused: connect" error.

Here is the script I have used to start the AEM 6.1: start.bat -agentlib:jdwp=transport=dt_socket,address=8000,server=y,suspend=n

And the screenshot for the config for remote debug.

Thanks in advance for your help.

1 Accepted Solution

Avatar

Correct answer by
Level 10

Read this AEM Eclipse article - only thing in this article is you sync code between AEM and JCR via vault tool. It talks about how to setup debugging: 

https://helpx.adobe.com/experience-manager/using/creating-aem-project-using-eclipse.html

View solution in original post

2 Replies

Avatar

Correct answer by
Level 10

Read this AEM Eclipse article - only thing in this article is you sync code between AEM and JCR via vault tool. It talks about how to setup debugging: 

https://helpx.adobe.com/experience-manager/using/creating-aem-project-using-eclipse.html

Avatar

Former Community Member

Thank you, the article does help to solve the remote debug issue.