I am trying to remote debug a Spring Boot 2.0 web application, built and run with the new Spring Boot Gradle plugin. I've read that the way to go is to pass the --debug-jvm option like so:
./gradlew bootRun --debug-jvm
But I get the following:
Problem configuring task :bootRun from command line.
> Unknown command-line option '--debug-jvm'.
Has something changed in Spring Boot 2.0 or am I missing something? The new gradle plugin reference does not mention anything regarding debug.
I am running Spring Boot and spring-boot-gradle-plugin version 2.0.0.M6, gradle version 4.3.1.