title: Remote gradle debug on build.gradle file from Eclipse IDE
body: <p>So in Windows in the comand line I wrote</p>
  
  <blockquote>
    <p>set GRADLE_OPTS=-Xdebug
    -Xrunjdwp:transport=dt_socket,address=9999,server=y,suspend=y</p>
  </blockquote>
  
  <p>Then I get:</p>
  
  <pre><code>C:\Project&gt;gradle main
  Listening for transport dt_socket at address: 9999
  </code></pre>
  
  <p>Then I put a breakpoint in the gradle.build file
  <img src="https://i.stack.imgur.com/VIbae.jpg" alt="enter image description here"></p>
  
  <p>and at last from Eclipse IDE</p>
  
  <p><img src="https://i.stack.imgur.com/bSWRf.jpg" alt="enter image description here"></p>
  
  <p>And I get</p>
  
  <p><img src="https://i.stack.imgur.com/wRRAT.jpg" alt="enter image description here"></p>
  
  <p>why this happend? So I can't debug gradle files, I can only debug java,groovy.. files?</p>