There are perfectly adequate debugging tools and documentation for Groovy. All of the built-in apps and drivers, and all of the community apps and drivers have been implemented on hubs. Debugging is done with log.debug in the code as needed, to come out later...
For documentation on Groovy, Google is an excellent resource -- I use it all the time if I need to know/remember something I don't know. Online documentation for Groovy is extensive and on point.
It's not hard to write a special purpose app that implements some chosen subset of RM. It's also possible to use RM for actions, with custom app to cause them to happen through the documented RM API.
There are example apps in our public GitHub repo, that show the basic framework for an app on the hub.