https://kotlinlang.org logo
#squarelibraries
Title
# squarelibraries
r

rkeazor

05/03/2021, 8:37 PM
What's the beat way to debug a code generator. Is there a way to attach a debugger?
m

mbonnin

05/04/2021, 8:15 AM
You can run your build with
-Dorg.gradle.debug=true
and then run a "Remote" configuration in IntelliJ
Alternatively, I think you can click "debug" from the Gradle panel. I've never really used it myself but might work and be easier
👍 1
r

rkeazor

05/05/2021, 2:20 PM
Nice didn't know that. Thanks