AEM eclipse plugin debug option | Community
Skip to main content
Community Advisor
October 16, 2015
Solved

AEM eclipse plugin debug option

  • October 16, 2015
  • 1 reply
  • 827 views

I am trying to debug aem application as mentioned in the documentation with the following option

set CQ_JVM_OPTS=%CQ_JVM_OPTS% -nofork  -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=10123

When I start using start.bat I get

Unrecognized option: -nofork
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.

However when I change quickstart.bat, uncomment the following section and add debugging options. server starts with quickstart.bat

::* do not fork the JVM
set CQ_NOFORK=true

It listens on port 10123 but when I try to debug by setting the breakpoints, it is not debugging

My java version is 1.7.0_51, I don't even see the option for -nofork when I type java -help

java version "1.7.0_51"
Java(TM) SE Runtime Environment (build 1.7.0_51-b13)
Java HotSpot(TM) 64-Bit Server VM (build 24.51-b03, mixed mode)

A

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Lokesh_Shivalingaiah

have you configured the same in eclipse ? Also how have you started your server ?

1 reply

Lokesh_Shivalingaiah
Lokesh_ShivalingaiahAccepted solution
Level 10
October 16, 2015

have you configured the same in eclipse ? Also how have you started your server ?