James Jefferies and ShedCode Ltd

The world of James and ShedCode

Debugging With Jetty

| Comments

Having used jetty a fair bit recently, one thing I couldn’t get working was remote debugging connections from Eclipse. The magic combination of parameters for Jetty 6.1.24 and Java 1.6 is as follows, if you’re using maven.

export MAVEN_OPTS="$MAVEN_OPTS -Xdebug -agentlib:jdwp=transport=dt_socket,server=y,address=8000,suspend=n" ; mvn jetty:run

Comments