Debugging a gradle test failure

I’m trying to get some debugging leverage on some changes I am working on for the gradle-os-package plugin, but this is a more general question.

This plugin does NOT as far as I can see use the Gradle test kit in its tests. I am trying to put in a few println statements at key points of the plugin code that would let me see what is going on, but these are being “eaten” somewhere and not displayed on the console. I might also be able to debug this in Eclipse, but Gradle tests cannot be “debugged” in Eclipse as far as I can see, although they can be run there.

What is my best strategy for either being able to run the test in Eclipse debug mode or producing temporary debug output?