how to enable debug in eclipse + weblogic

来源:互联网 发布:历史类书籍 知乎 编辑:程序博客网 时间:2024/05/01 19:40

add the following code to  startweblogic.cmd

%JAVA_OPTIONS% -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=8787

in the eclipse click run menu ----> debug , right click the "remote java application "

set the value like following

 

 

 

 

 

when you start the server , click  run-->debug--> debug button , 

and add break point in you code ,  run the program , it will be ok !!!