I have a Java webapp loaded as a Gradle project in Eclipse. I can start it running with Jetty (https://github.com/akhikhl/gretty) but I cannot figure how to get it to debug so I can step through the servlets. This just worked with the Gradle plugin, but how can I make it work with Buildship?
Currently Buildship does not provide debugging support. We have plans to add this feature, but I nothing is scheduled yet.
According Gretty’s documentation, it is possible to enable debugging for the servlet container:
With that, you can try using Eclipse’s remote debugging functionality:
Thanks. I had seen the Gretty note, but I had missed the Eclipse side of the solution. This is not as convenient, but it gets the job done.