Skip to content

Latest commit

 

History

History

door-compiler

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Debugging the annotation processor itself

Run a task that runs the annotation processor (e.g. door-testdb:jvmJar) and add arguments: --no-daemon -Dorg.gradle.debug=true . Then attach the debugger (In IntelliJ: Run, edit configurations, Add Remote JVM Debug with port 5005)

KSP:

./gradlew :module:taskName --no-daemon -Dorg.gradle.debug=true -Pkotlin.compiler.execution.strategy=in-process

e.g.

./gradlew :door-testdb:jvmJar --no-daemon -Dorg.gradle.debug=true -Pkotlin.compiler.execution.strategy=in-process