IntellJ 11 + Glassfish 3.1.1 ≠ Debugging
Debugging does not seem to work with IntelliJ II and Glassfish 3.1.1.
1. Fresh install of IntelliJ 11
2. Install Glassfish 3.1.1 on Mac OS X Lion
http://docs.oracle.com/cd/E18930_01/html/821-2427/ghmos.html#ghuhk
3. Follow example on JetBrains Wiki - Developing applications for GlassFish Server in IntelliJ IDEA 10
http://wiki.jetbrains.net/intellij/Developing_applications_for_GlassFish_Server_in_IntelliJ_IDEA_10
4. Run --> WORKS
5. Set breakpoint on any valid code line in result.jsp
6. Debug ---> Never hits breakpoint
I have verfied the debugging is enabled in Glassfish admin and that the debug configuation is using the same port 9009 as shown in the IntelliJ Glassfish log.
In the Event Log, I see the following:
Error running Glashfish 3.1.1: Unable to open debugger port : java.net.SocketException "Socket closed"
What am I missing?
Please sign in to leave a comment.
Deployment was not configured correctly -- Pilot Error.
Resolved.
I am running into the same issue. What was the deployment issue?