- 在项目的根目录下gradle.properties 文件中加入如下两条语句:
org.gradle.jvmargs= -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=5005
org.gradle.parallel=true
-
点击 Edit Configurations配置 remote
-
点击AnnotationProcessor,debug运行
-
构建Project
最后会断下来
org.gradle.jvmargs= -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=5005
org.gradle.parallel=true
点击 Edit Configurations配置 remote
点击AnnotationProcessor,debug运行
构建Project
最后会断下来