Last active
August 29, 2015 14:05
-
-
Save tednaleid/17651929072749009902 to your computer and use it in GitHub Desktop.
Grails forked mode debug without suspending for remote debugger to connect first
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
... | |
// the jvmArgs flag allows us to override the default suspend=y that grails uses when you do --debug-fork | |
// the grails docs mention jvmArgs, but lie about it wanting a String, it actually wants a List of Strings | |
grails.project.fork = [ | |
test: [maxMemory: 768, minMemory: 64, debug: false, maxPerm: 256, daemon:true, jvmArgs: ['-Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5005']], | |
run: [maxMemory: 768, minMemory: 64, debug: false, maxPerm: 256, forkReserve:false, jvmArgs: ['-Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5005']], | |
war: [maxMemory: 768, minMemory: 64, debug: false, maxPerm: 256, forkReserve:false, jvmArgs: ['-Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5005']], | |
console: [maxMemory: 768, minMemory: 64, debug: false, maxPerm: 256, jvmArgs: ['-Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5005']] | |
] | |
... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment