Does anyone know how to configure the jetty gradle plugin to run in debug mode so that I can attach a remote debugger?
I\'ve tried setting the gradle and java opts t
I ran it with org.gradle.debug property:
./gradlew -Dorg.gradle.debug=true jettyRun
At this point gradle freezes and waits for incoming debug connections.
Then I created Remote Run configuration in IntelliJ with value of "Command line arguments for running remote JVM" to be
-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=5005
Finally, I ran this new configuration, gradle resumed progress and IDE stopped at the first breakpoint.