Starting the WebLogic 7 startup script in debug mode

Abstract: Starting the WebLogic 7 startup script in debug mode

Question:

How do I modify the Weblogic 7 startup script, "startWebLogic.cmd," to start in debug mode?

Answer:

Append the following parameters to line defining the JAVA_OPTIONS variable:

-Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,address=3999,suspend=y,server=y