Random java
Wednesday, October 19, 2011
Gradle remote debug for java
Type:
export GRADLE_OPTS="-Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,address=4000,server=y,suspend=y"
Run your gradle commands as normal and hook up on port 4000 to remote debug your app.
E.g.
./gradlew jettyRun
Newer Posts
Older Posts
Home
Subscribe to:
Posts (Atom)