Debug a JAVA appli­ca­tion, use with Eclipse:

1
java –Xde­bug –Xrunjdwp:transport=dt_socket, server=y,suspend=y,address=1044

Suspend=y means, the appli­ca­tion will wait to start up until you con­nect it with a debugger.