You are now all set up for debugging your JSPs in AEM. ĬQ_JVM_OPTS='-server -Xmx1024m -XX:MaxPermSize=256M =true'ĬQ_JVM_OPTS="$CQ_JVM_OPTS -Xdebug -Xrunjdwp:transport=dt_socket,address=58242,suspend=n,server=y" You can also add these options to your start script in crx-quickstart/bin/start as shown below. Java -Xdebug -Xrunjdwp:transport=dt_socket,address=58242,suspend=n,server=y -Xmx1024m -XX:MaxPermSize=256M -jar cq-quickstart-5.6.1.jar You can do this by starting the AEM jar file directly and adding these options, for example with the following command line: The last step required is to start AEM with the JVM options proposed by IntelliJ IDEA.
#Intellij jar export install
Install IntelliJ IDEAĭownload IntelliJ IDEA from the Downloads page at JetBrains. This guide is based on IntelliJ IDEA Ultimate Edition 12.1.4 and AEM 5.6.1.