002/Using Debugger w.r.t AEM

In command line enter

java -Xdebug -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=8888 -Xmx4502m -jar aem-author-p4502.jar -gui

This enables the AEM / application for debugging where IntelliJ or eclipse can listen on port 8888.

Now in your IntelliJ, create a new Remote JVM Debug configuration which looks like this.

Now, ok and run the config. It should work.

0
Subscribe to my newsletter

Read articles from Siddhant Jaiswal directly inside your inbox. Subscribe to the newsletter, and don't miss out.

Written by

Siddhant Jaiswal
Siddhant Jaiswal