I can't seem to debug the tomcat application through Eclipse. I've set
and then I run
bin/catalina.sh, where I see output saying it's listening for
port 8000. But whenever I try to connect to port
8000 in Eclipse (by adding an entry in the remote java application menu), it complains about a refused connect. Any ideas?
Can you check if this works?
JPDA_OPTS="-agentlib:jdwp=transport=dt_socket,address=8000,server=y,suspend=n" catalina.sh jpda start