Remote Debugging of OpenEMS

Hello All,

Has anyone here debugged the OpenEMS code remotely with Eclipse? I would like to have the OpenEMS instance running on a server without a GUI and still be able to debug and work with the code there.

Eg, VS Code has plugins to allow for remote debugging in such situations. Does Eclipse have a similar plugin? Eclipse has a debug setting for Remote Java Application but it is not available in the BndTools perspective. Should I be using that?

Thank you! :slight_smile:

Hi @dsen,

I have never tried it myself, but using bndtools it should be possible:

19.5 Remote Launching
The purpose of the aQute Remote project is to provide remote debugging support for bnd projects. It can be used to debug bundles and bndrun files in a remote machine running an OSGi framework with an agent installed on it; it can also install a framework on a remote machine before it uses the agent. The architecture is heavily optimized to run on small remote machines.

Regards,
Stefan