how to enable debug in eclipse + weblogic

    技术2022-05-11  71

    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 !!!

     


    最新回复(0)