-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5001
The best documentation on this is available from InformIT. This site details the following parameters:
-Xdebug
: Enables the application to be debugged.-Xnoagent
: Disables the sun.tools.debug agent so that the JPDA debugger can properly attach its own agent.-Djava.compiler=NONE
: Disables the JIT (Just-In-Time) compiler.-Xrunjdwp
: Loads the reference implementation of the Java Debug Wire Protocol, which enables remote debugging.