Skip to content

Instantly share code, notes, and snippets.

@rajavijaysingh
Forked from gabrielwalt/aem-debug
Last active June 8, 2018 07:52
Show Gist options
  • Save rajavijaysingh/f3ffea2b34ccf8bc50839369f541c9e6 to your computer and use it in GitHub Desktop.
Save rajavijaysingh/f3ffea2b34ccf8bc50839369f541c9e6 to your computer and use it in GitHub Desktop.
Run AEM in debug mode
java -jar cq-quickstart-6.0.0.jar -debug 10123
java -jar aem6-author-p4502.jar -debug 8000 -nofork
java -Xdebug -Xrunjdwp:transport=dt_socket,server=y,address=9669,suspend=n -XX:+PrintGC -XX:+UseG1GC -XX:MaxGCPauseMillis=200 -jar aem-quickstart-6.2.1.jar
run the below in quickstart folder cmd prompt
SET CQ_JVM_OPTS=-Xmx2048m -XX:MaxPermSize=512M -Djava.awt.headless=true -Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=8000
./crx-quickstart/bin/start.bat
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment