I am trying to debug a gradle build. In cmd I type:
set GRADLE_OPTS=-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=8000
next I build the project:
But instead of waiting for me to launch the remote debugging inside eclipse the build terminates:
C:\workspac\test>gradle build Listening for transport dt_socket at address: 8000 INFO: Added configuration: provided ... ... BUILD SUCCESSFUL Total time: 9.881 secs
Why does the gradle build not wait for me to connect with the remote debug process from eclipse?