To debug in Intellij :
First you have to configure your weblogic server in the IDE.
GoTo Run --> Edit Configurations.
Add a remote server instance. Under the Configuration tab -- Enter the host name and port (default will be 5005) , click Apply and OK.
This line gets generated "-Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5005".
GoTo to the file setDomainEnv.cmd or setDomainEnv.sh under the "C:\bea\weblogic92\samples\domains\wl_server\bin" directory.
Open the file in a TextPad :
Find the following line "set JAVA_DEBUG=" next to this , in the else block , copy and paste the generated line after "-da"
Thats it, start the server and add a breakpoint in the code, and execute the code --- Happy Debugging :))
Having a masters degree in Computational Science, working in Java, developed applications on different domains such as Finanical Services, B2B, Banking, Utility...