Because of Grails 2.3.x's new forked execution, IDEA(now version 13.1) can only debug it remotely. But GGTS 3.5/M2 can debug it directly even in forked execution. Can IDEA do the same thing just like GGTS 3.5?
Or can I fully disable forked execution and let grails 2.3.x just work with IDEA like grails 2.2.x? I've tried this: IntelliJ IDEA Debugger isn't working on a Grails Project but when I disabled forked execution by setting in grails-app/conf/BuildConfig.groovy:
grails.project.fork = [
test: false,
run: false
]
and Debug it in IDEA, debug can only work if you don't change any code, otherwise the reloading function will crash(console output Subtype of reloadable type is not reloadable...blablabla) and the the breakpoint will not stop any more.
Since this is not a large project with numbers of tests, I get troubled in the fork mode. I can't close the console using ctrl+c anymore (sometimes, stop-app not works, and I have to kill the java process in task manager), and I can't debug directly in IDEA, could anyone give me a solution for this?