polyforest / acornui-gradle

A bundle of Gradle plugins that helps build Acorn UI projects with ease.
Apache License 2.0
0 stars 0 forks source link

Add debugging instructions to acornui build plugin documentation #38

Open fuzzyweapon opened 5 years ago

fuzzyweapon commented 5 years ago

From acornui created by fuzzyweapon: polyforest/acornui#191
then adapted

Although there are instructions out there, there are multiple ones and not all of them are right, they are scattered everywhere.

fuzzyweapon commented 5 years ago

Q&D - how to debug Kotlin DSL script

if using a Gradle task in a run config, make sure that the following is checked:

image

then execute run config as debug


when running/debugging a Gradle task directly from the Gradle Tool window:

just execute as debug. This can be done directly by right-clicking the task in the tool window and selecting the Debug run option:

Gradle Tool window

image

context menu

image