This message was deleted.
# community-support
s
This message was deleted.
r
Context - the tests are running inside a docker container and I want to attach a debugger in my IDE (i.e. running on the host) using docker port forwarding.
This looks promising...
Copy code
tasks {
  test {
    if (project.hasProperty("debug-jvm")) {
      jvmArgs(project.property("debug-jvm"))
    }
  }
}
Then run as so:
gradle test '-Pdebug-jvm=-agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=*:5005'
v
Here is the according issue to be thumbs-uped: https://github.com/gradle/gradle/issues/20644
👍 1
s
Hello, the fix for this issue is in progress! It's currently planned for 7.6.
👍 1
❤️ 1