My Java application is launched from the firmware through java.dll. This native program runs as a service on Windows.
The following parameters have been added to the JVM arguments for remote debugging:
-Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=n
In this configuration, you cannot connect, for example. my Eclipse workspace. If the program is launched from the command line, that is, not as a service, I can connect to port 8787.
How to enable remote debugging connections to this service?
source share