- Start up interactive mode in debug-mode
- Connect from IDE
- Start test
1 |
$ grails -debug |
Connect remote from InteliJ
From menu Run -> Edit Configuration ->
then click + mark and select Remote
1 |
grails> test-app integration: classname -echoOut |
Run application in remote debug
1 |
grails> run-app |
Do run-app instead of test-app. It faster and stable(may be).
Without debug
Run interactive mode.
1 |
$ grails |
then run test.
1 |
grails> test-app integration: classname -echoOut |
It may be faster than run from IDE.