debug gradle-built project with jdb
问题 I'd like to use jdb with a gradle-built project. The project's build instructions require running a ./gradlew run , which eventually launches a command like: /abs/path/to/java -Dorg.gradle.appname=gradlew -classpath /abs/path/to/uaa/gradle/wrapper/gradle-wrapper.jar org.gradle.wrapper.GradleWrapperMain run I replaced java with jdb, jdb -Dorg.gradle.appname=gradlew -classpath /abs/path/to/uaa/gradle/wrapper/gradle-wrapper.jar org.gradle.wrapper.GradleWrapperMain run then issue run , this runs