What is the best way to debug gradle plugins?


(Vens L) #1

New to gradle and this forum.

What is the best way to debug the groovy/java code in the plugin class (ex: class TestPlugin implements Plugin)
I have been using prinln - but wondering if there is a better way to debug it line by line ?


(Benjamin Muschko) #2

You can remote debug your Gradle build as described here:

Make sure to also use the option --no-daemon.