debug grails application in eclipse IDE -
I want to debug Grails application in Eclipse Kepler, I tried to eclipse the debug and added the break point but it Normally it runs in normal run mode, how do I do this? Thanks
Burt's answer
You can start a Grails app (the one that was assumed through Grails nature, i.e. STS or configured through the Convert to Grills project). As Debug Grails Command (Run-Ape)
You can also create a debug configuration and attach it to any app that you start with "grails-debug run-app" from the command line. Visit the run. Select Debug Configuration and Remote Java Application Click the 'New' button or right-click on the remote Java application node and choose new one. Select the project that you are debugging and give the configuration a meaningful name (I usually call them "attached"). Change port to 8000 to 5005, and I always check the "Allow remote closing VM" checkbox so that I can kill the app from the IDE, but it is optional. Click on the debug and attach it. Note that this will work for any grills project that is in your workspace, not just for those people who are Grails nature
Burt
Comments
Post a Comment