I don't quite understand how to debug Server side components. Everyone tells me that it is easy, but you cannot find documentation anywhere, and I think most of the time the application that they debug might be small simple applications.
I have been able to startup Weblogic in debug mode, with the parameters, but if I start a debug session with the remote configuration pointing to the JVM of Weblogic, it connects and that is all. Obviously no code is running on the Weblogic server at that time. That makes sense to me.
So now I have this JUnit class that I want to step through, it will use the code that is on the server side running in Weblogic's JVM.
Do I have to start a second debugging session in IDEA, and while I step through the code, when it reaches serverside code, it will step through it via the other debugging session that is also open? Or do I have to run the JUnit class in a dos prompt, and when a call is made to the server, the one debugging session that is connected to the server will stop the serverside code when it reaches a breakpoint.
Please help me understand this process.