Debug GRAILS 3 in eclipse

雨燕双飞 提交于 2020-01-14 09:20:07

问题


I would like to know if is there any way to debug a Grails 3 application with a single-click from eclipse (mars) IDE, in the same way as a Java (or Java Spring Boot) web application that it is possible to do a "debug on server".

It is possible to "run as" "gradle build" ... but not a "debug as" "gradle build".

Is there any way for doing this or is there any intention to have this functionality in the future?

Any eclipse plugin?

Thanks in advance.


回答1:


I finally found working solution. My eclipse IDE version:

Version: Mars.2 Release (4.5.2)

Build id: 20160218-0600

Installation details -> Installed software:

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

After importing project to workspace add new debug Spring Boot App configuration:

Enjoy debugging.



来源:https://stackoverflow.com/questions/34851738/debug-grails-3-in-eclipse

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!