Hi, In <this 2016 thread>, debugging Gradle tasks ...
# self-promotion
g
Hi, In this 2016 thread, debugging Gradle tasks from Buildship was on the roadmap; the workaround is still
--debug-jvm
plus a Remote Java Application in Eclipse. I wrote an open-source plugin that does it in one click. It adds Debug Gradle Tasks to the context menu of the Gradle Tasks view and a debug mode to Gradle Task run configurations. Every JVM the build forks (
JavaExec
,
Test
,
bootRun
, …) is attached to the Eclipse debugger. GitHub: github.com/legrottagliegionata/eclipse-gradle-debug (EPL 2.0, Eclipse 2024-06 or later, also on the Eclipse Marketplace).