we have a plugin that is not behaving per expectation. i have figured out that I can
./gradlew myBrokenTask -Dorg.gradle.debug=true to make the debugger wait for a connection. further, i’ve successfully had intellij attach to that debugger. however, some SO posts have told me i cannot debug DSL content, but rather only java-ish content within.
- i am skeptical to believe that the only way to debug my scripts is to drop
printlnstatements everywhere. am i mistaken?
- further, that dependency lives somewhere outside of my project directory structure, probably in my
~/.gradlecache somewhere, yes? what would be the strategy for getting a breakpoint tagged over there? albeit, it is a
what are the best debugging practices out there? the gradle docs don’t mention much in this regard.