Debugging a remote java application with Eclipse

You can remotely debug a java application by first starting it like below.

Then, any decent IDE (such as Eclipse) with facility to remote debug a java application will be able to attach into the running process under the specified port (in this case, 8888). in Eclipse: Run > debug configurations > remote java…