1. Open the JB menu item: run | configurations, if you haven't created the configuration information yet, create one, otherwise edit the existing
2, in the Configuration window, click on the tree on the left: Debug | Remote
3, select "Enable Remote Debugging"
4, select Attach
5. Add the following command in the StartWebLogic.cmd file:
Set java_options = -xdebug -xnoagent -djava.compiler = none -xrunjdwp: Transport = dt_socket, server = y, address = 3999, SUSPEND = N
BTW: It is recommended not to change in the original file, such as you can save: startWeblogicDebugmode.cmd
note:
1. WebLogic starts separately from the outside, which is the startup script that has just been modified.
2, each time you modify the code to debug, redeploy