Debug Kotlin annotation processor
#1.EditCongurations创建一个Remote 远程调试器
#2.gradle.properties文件添加 kapt.use.worker.api=true
#3.Terminal中运行
./gradlew --no-daemon -Dorg.gradle.debug=true -Dkotlin.daemon.jvm.options="-Xdebug,-Xrunjdwp:transport=dt_socket,address=5005,server=y,suspend=n" :clean assemble
出现>starting Daemon后,切换到远程调试器,运行debug,编译到断点处将停下
#4.无法启动Daemon
查看运行状态:gradle --status
停止守护进程:gradle --stop
重新执行#3