I am using Jetty 8 and trying to connect from Eclipse. I am using Java 1.6.
While starting jetty in debug mode, I am giving the below command which throws an "Address already in Use" error.
java -Xdebug -agentlib:jdwp=transport=dt_socket,address=8080,server=y,suspend=n -jar start.jar.
To do Remote debugging, I need open the debug mode on the same port in which Jetty server which is going to run.
The reason I suspect is, I am opening a debug port on 8080(done successfully) and when Jetty tries to start the server in default port 8080, it throws the error "Address already in use".
Can you help me?