Failed to set breakpoint in grails 2.3.8 with intellij 13.1.2

I am trying to set breakpoints in a grails project (grails version: 2.3.8, Intellij version: 13.1.2), but all breakpoints are ignored, but with the same environment when the project version is 2.1.0, everything is fine. Please let me know if anyone knows how to solve it.

+4
source share
1 answer

I found the following instructions on another site.

In Intellij, go to "Run / Edit Configurations", press +, then "Remote" and name it whatever you want (example "Grails Remote"), then click ok.

Then from the command line do:

grail run-app --debug-fork

, "Grails Remote". .

grails-app/conf/BuildConfig.groovy

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

grails docs

+4

Source: https://habr.com/ru/post/1540483/


All Articles