Java Eclipse Remote Debugging

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

Leave a Reply

Your email address will not be published. Required fields are marked *