Skip to content

Instantly share code, notes, and snippets.

@carl-mastrangelo
Created April 3, 2024 23:47
Show Gist options
  • Save carl-mastrangelo/2f55556e32a1c2e3787391a1ba6b9bd2 to your computer and use it in GitHub Desktop.
Save carl-mastrangelo/2f55556e32a1c2e3787391a1ba6b9bd2 to your computer and use it in GitHub Desktop.
Debug Javac and Annotation Processors On Gradle
tasks.withType<JavaCompile> {
options.setFork(true)
options.forkOptions.jvmArgs = listOf("-agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=127.0.0.1:5009")
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment