In Weblogic server,
Select relevant managed server and go to "Server Start" tab/ Then in the "Arguments:" text box, append following parameters
Then, in Eclipse,
Select relevant managed server and go to "Server Start" tab/ Then in the "Arguments:" text box, append following parameters
-Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=n
Then, in Eclipse,
- Add a new "Remote Java Application" in the Debug Configurations (via the menu: Run -> Debug Configurations).
- Make sure the correct project is selected (Browse button) and fill in server name in "Host" and 8000 in "Port".
- To avoid Eclipse stopping debug at "Daemon Thread [Timer-xxx] (Suspended (exception RuntimeException)) TimerThread.run()",
- Go to Preferences -> Java -> Debug
- Uncheck "Suspend execution on uncaught exceptions"