I'm quite desperated about the issue that my InelliJ does not stop at defined breakpoints during debug mode. Neither it works at my AEM 6.4 instance nor AEM 5.6. The console output of ide says that exists a connection to aem instance. I'm using commercial edition of IntelliJ in version 2019.2.3 . Additional I've got a new fresh installation of Windows 10 on my computer. What can I do?
I have researched a lot of time for solving this issue, without no success. Some external consultants cannot reproduce this.
Accendently I could solve this issue. I did follow way:
Open the start script in folder "crx-quickstart / bin" ('start' or 'start.bat) in an editor
Replace the line "CQ_JVM_OPTS set CQ_JVM_OPTS=-Xmx256m -XX:MaxPermSize=512M -Djava.awt.headless=true" by "CQ_JVM_OPTS=-Xmx256m -XX:MaxPermSize=512M -Djava.awt.headless=true -agentlib:jdwp=transport=dt_socket,address=<Port>,server=y,suspend=n"
For now I have to use the startscript to start the enviroment. What ever circumstances are in charged for this action.