Last active
July 24, 2016 15:22
-
-
Save davidjgonzalez/30ef5587eced4e8dd731623481c756e3 to your computer and use it in GitHub Desktop.
Shortcut script for starting (random) AEM with intellij debug enabled
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# sudo vi /usr/local/bin/debug-aem.sh <- this file | |
# chmod a+x /usr/local/bin/debug-aem.sh | |
# debug-aem.sh <jar-file> <debug-port> | |
java -Xdebug -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=${2:-8888} -jar ${1:-cq-author-p4502.jar} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment