I'm using a third party script in order to run groovy scripts in a fully configured grails environment.
The script is working fine from the command line but I would like to be able to debug my scripts. Right now I am unable to come up with a launch config within IntelliJ 7.0.3 that would support this.
I've tried abusing the "Run Web Tests" Configuration Type (which appears to be missing the required RunWebtest.groovy script for Grails 1.0.2) by copying RunScript.groovy (from the article above) to RunWebtest.groovy. Unfortunately it seems as if JetGroovy isn't passing the arguments I gave it in the GUI Configuration Dialog to the script.