debug grails

=== print log in debug mode ===

f.properties.each{k,v-> println “===${k}:${v}\n”}

use ggts

  • select grails version
    • windows -> preference -> search grails -> add
  • special for grails 3.0.x
    • need to create build.properties file under the grails 3.0.x installation folder and add 1 line there: grails.version=3.0.11, otherwise can not add 3.0.x
  • install gradle plugin to eclipse
  • import gradle project to eclipse
  • install groovy 2.4 compiler feature
    • use http://dist.springsource.org/snapshot/GRECLIPSE/e4.4
  • install spring ide core
  • create debug configuration under spring boot app
    • select the app
    • enable debug output

ie. all the plugin to be installed in eclipse

Buildship: Eclipse Plug-ins for Gradle  1.0.11.v20160328-1759   org.eclipse.buildship.feature.group Eclipse Buildship
Eclipse IDE for Java EE Developers  4.5.2.20160218-0600 epp.package.jee null
Groovy Compiler 2.4 Feature 2.9.2.xx-201603042130-e45   org.codehaus.groovy24.feature.feature.group Codehaus.org
Groovy-Eclipse Feature  2.9.2.xx-201603042130-e45   org.codehaus.groovy.eclipse.feature.feature.group   Codehaus.org
Spring IDE Core (required)  3.7.3.201602250914-RELEASE  org.springframework.ide.eclipse.feature.feature.group   Spring IDE Developers
Advertisements
This entry was posted in Grails. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s