I stopped using Eclipse many, many moons ago, so I have no direct experience. I do however debug Openfire all the time, using Intellij. What I do is:
- Start Openfire with debugging options (if you use the openfire.sh script, you can just add the
-debugargument. If not, you’ll have to launch the java process with something like-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=5005(for JDK 5 - 8) - Attach the debugger to a ‘remote’ process (but that process is running on localhost, port 5005)