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
set GRADLE_OPTS=-Xdebug -Xrunjdwp:transport=dt_socket,address=9999,server=y,suspend=n does NOT work for me too when run with gradle jettyRunWar.
I found another solution which works, run gradle jettyRunWar with below options
gradle -Dorg.gradle.jvmargs="-Xdebug -Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=n" jettyRunWar.
But when I add the same parameter in gradle.properties, it doesn't work...