title: SpringBoot 2 debug using the Gradle plugin
body: <p>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 <code>--debug-jvm</code> option like so:</p>
  
  <pre><code>./gradlew bootRun --debug-jvm
  </code></pre>
  
  <p>But I get the following:</p>
  
  <pre><code>Problem configuring task :bootRun from command line.
  &gt; Unknown command-line option '--debug-jvm'.
  </code></pre>
  
  <p>Has something changed in Spring Boot 2.0 or am I missing something? The <a href="https://docs.spring.io/spring-boot/docs/2.0.0.BUILD-SNAPSHOT/gradle-plugin//reference/html/" rel="nofollow noreferrer">new gradle plugin reference</a> does not mention anything regarding debug.</p>
  
  <p>I am running Spring Boot and spring-boot-gradle-plugin version 2.0.0.M6, gradle version 4.3.1.</p>