Java allows you to remotely debug JVM startup.
So, if you run the ESB with a debug argument, then it will work in debug mode, listening on port 5005.
davsclaus:/opt/fuse-esb-7.0.1.fuse-084$ bin/fuseesb debug Listening for transport dt_socket at address: 5005
You can then perform remote debugging from Eclipse using this port number. This is standard Java remote debugging, and Eclipse has a wizard for that already. Its a debug wizard that has remote debugging functionality.
source share