Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

Cannot start the remote debug on AEM 6.1 in Eclipse

Avatar

Level 3

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

Level 3

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