Java Eclipse Remote Debugging

Reading Time: < 1 minute

This could be needed to remote debug a java program first on the remote or to simulate it on your machine issue the below code to run it in debug mode

java.exe -Xdebug -Xrunjdwp:transport=dt_socket,address=9991,server=y,suspend=n -jar C:\Users\tugrul.aslan\xxx.jar

 

then in eclipse Run ==> Debug configurations

remotedebug