In Intellij Idea, you can make it listen to a remote process by doing the following:
Run → Change configurations → Add new configuration → Remote.
I was wondering if the same could be done in the Eclipse IDE ...
You can connect a remote debugging process , a process . You doubt in what case you want this in your application, but you can try it as a starting point (if not for the purpose of debugging).