Kotlin-dsl-samples: Support script debugging

Created on 30 May 2016  路  3Comments  路  Source: gradle/kotlin-dsl-samples

In talking with @ligee, basic support for debugging should "already be there", e.g. setting breakpoints, etc. Should just be a matter of passing the correct remote debugging flags to underlying the Gradle process.

  • [ ] See what's already possible with debugging
  • [ ] Provide feedback to Kotlin team about surfacing first-class support for debugging Gradle build scripts wherever it's missing
feature epic idea-gradle-plugin debugging

Most helpful comment

This would be awesome to have - recently, IntelliJ added support to debug Groovy build scripts (see https://www.jetbrains.com/help/idea/gradle.html#debug_gradle) so I'm looking forward to kotlin-dsl support.

All 3 comments

I've just re-associated he milestone from 1.0 M2 to GA. It was an accident that the M2 association happened in the first place. We know we want complete debugging support by 1.0 GA, but its priority is not clear enough right now to slate into a particular milestone.

This would be awesome to have - recently, IntelliJ added support to debug Groovy build scripts (see https://www.jetbrains.com/help/idea/gradle.html#debug_gradle) so I'm looking forward to kotlin-dsl support.

@mkobit debugging scripts currently works with the caveat that breakpoints on top-level members are ignored, see #1040 and KT-23526.

Was this page helpful?
0 / 5 - 0 ratings