以Weblogic+Eclipse为例
1. Enalbe remote debug at Weblogic
-> Open Weblogic Console Page
-> Click Environment
-> Click Servers
-> Select server which you want debug on
-> Click server start tab
-> Add Arguments with
agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=9999
-> Restart the server from Weblogic Console Page(Server -> Control)
-> If failed to restart, pls run startNodeManager.sh
-> Start the server by scripts will not work