我设置了一个环境变量export GRADLE_OPTS="-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=5005"
,并在想法中添加远程调试>运行>编辑配置。
但是当我运行./gradlew jettyRun
时,它不起作用。
以下是输出。
Listening for transport dt_socket at address: 5005
enter code here Error listing versions of org.codehaus.groovy:groovy using class org.gradle.api.internal.artifacts.repositories.resolver.MavenVersionLister$1. Will attempt an alternate way to list versions. This behaviour has been deprecated and is scheduled to be removed in Gradle 2.0