title: Using Intellij to set breakpoints in gradle project
body: <p>Now that IntelliJ 12.1 is out, I was hoping to be able to attach the debugger to a 'gradle run' app and have it stop at breakpoints.  I've tried both right-clicking run and choosing to debug it, and setting GRADLE_OPTS environment variables as suggested in this answer:</p>
  
  <p><a href="https://stackoverflow.com/questions/11129401/debug-gradle-plugins-with-intellij">Debug Gradle plugins with IntelliJ</a></p>
  
  <p>and attaching the debugger remotely, which works fine, but neither one breaks on the breakpoints.  I must be missing something.</p>