How can I get the debugger to stop at a breakpoint in a Grails script, such as _GrailsTest.groovy?
I added the $GRAILS_HOME/scripts to the sources of my global grails-1.3.6 library, but the breakpoints there don't stop. When I Ctrl-Shift-N to the script file, IntelliJ still gives me the choice of the .class file in $GRAILS_HOME/dist/grails-scripts-1.3.6.jar, as well as the .groovy file. Does it not recognize them as the same thing?
I tried flagging my project's scripts directory as a source directory and copying _GrailsTest.groovy there, but even though that gets compiled into $HOME/.grails/1.3.6/projects/myProjectName/scriptCache, breakpoint in that copied source file still don't work.