[eclipse] Remote debugging Tomcat with Eclipse

I can't seem to debug the tomcat application through Eclipse. I've set

CATALINA_OPTS=-Xdebug -Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=n

and then I run bin/catalina.sh, where I see output saying it's listening for dt_socket on 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?

This question is related to eclipse tomcat

The answer is

Can you check if this works?


catalina.sh jpda start

Similar questions with eclipse tag:

Similar questions with tomcat tag: