title: how to debug spring application with gradle
body: <p>I am working on spring app and need to step through a controller method to see how it works. 
  I am working in eclipse and building my app with <code>gradle bootRun</code> command.</p>
  
  <p>How to run it in debug mode?</p>
  
  <p>i tried <code>gradle bootRun --debug</code> but it's just debug log, not debug mode</p>
  
  <p>i tried <code>gradle help --task bootRun</code> -- this gives me info about task
  there i saw <code>--debug-jvm</code> option but when i run 
  <code>gradle bootRun --debug-jvm</code> application doesn't start</p>