IntelliJ IDEA Debugger isn’t working on a Grails Project

I have tried all mentioned here without success.
The only helpful information is here.

In essence you should disable forked execution by adding the following to grails-app/conf/BuildConfig.groovy:

grails.project.fork = [
    test: false,
    run: false
]

Now debugging is available in IntelliJ IDEA Ultimate Edition v.12.1.6 just by ordinary Debug without Remote debugging.
Tested on Grails 2.3.1, Java 1.7.0_45, Windows 7 64-bit.

Leave a Comment