Wednesday, March 3, 2010

GRAILS troubleshooting

  1. grails-debug: Instead of running just grails run-app you can use grails-debug run-app which will allow you to hook up your ide to grails and insert break points.
  2. grails -Dgrails.full.stacktrace=true run-app: This should give you the full stack trace. It isn't always useful but when you have nothing to go on it is a place to start.
  3. ?showSource = If you are in development mode and you have a gsp error you can use this command to figure out what the problem actually is.


source= http://stateyourbizness.blogspot.com/2008/05/debugging-grails.html

No comments:

Post a Comment