Weblogic remote debugger java

window version

1, add below line after "set JAVA_OPTIONS=%SAVE_JAVA_OPTIONS%"  in startWebLogic.cmd

set JAVA_OPTIONS=-Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket,address=7088,server=y,suspend=n %JAVA_OPTIONS%

2, new debugger at Remote Java Application then input host and post at Eclipse.

linux version

1,add this line before umask at startWebLogic.sh

JAVA_OPTIONS="${JAVA_OPTIONS}-Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=n"
export JAVA_OPTIONS

umask 037

2, new debugger at Remote Java Application then input host and post at Eclipse.

相关推荐