Buildship and debugging a webapp

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:
http://akhikhl.github.io/gretty-doc/Debugger-support.html
With that, you can try using Eclipse’s remote debugging functionality:
http://help.eclipse.org/mars/index.jsp?topic=%2Forg.eclipse.jdt.doc.user%2Ftasks%2Ftask-remotejava_launch_config.htm

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.