For java 1.5 or greater:
-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=9527
For java 1.4:
-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=9527
For java 1.3 and earlier:
-Xnoagent -Djava.compiler=NONE -Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=9527