I am trying to debug some java code, but i am getting a connection timed out exception-
Failed to connect to remote VM. Connection timed out.
I have added
if not defined CQ_JVM_OPTS set CQ_JVM_OPTS=-Xmx1024m -XX:MaxPermSize=256M -Djava.awt.headless=true -Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=30303
in start.bat file
Solved! Go to Solution.
You can just add -debug 30303 in the JVM opts to start AEM in debug mode.
-debug <port>
Enable Java Debugging on port number; forces forking
No need for "runjdwp:transport=dt_socket,server=y,suspend=n,address=30303"
Views
Replies
Total Likes
Hi @chinmayis865517, Try changing the port number and map the same port number in eclipse debug configurations. Try launching now in debug mode.
You can just add -debug 30303 in the JVM opts to start AEM in debug mode.
-debug <port>
Enable Java Debugging on port number; forces forking
No need for "runjdwp:transport=dt_socket,server=y,suspend=n,address=30303"
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies
Views
Likes
Replies