Can I debug a Grails application using a text editor such as Sublime Text 2?

I'm starting out with Grails, and I watched a few videos where presenters demonstrated Grails 2.X with a command line and a text editor such as textmate.

Here are my 2 questions:

  • Is this the recommended workflow or the most popular? Or do most people use STS?

  • I like text editors and I would like to know if it is possible to debug Grails application with Sublime Text 2

thank

+3
source share
1 answer

grails IDE jdb , JDK. IDE, , gdb Unix.

grails -debug grails.

Listening for transport dt_socket at address: 5005

jdb :

jdb -attach localhost:5005

main[1]. . :

main[1] stop in mypackage.MyController.action()
Deferring breakpoint mypackage.MyController.action().
It will be set after the class is loaded.
main[1] run

, step next cont.

+8

All Articles