The Enterprise Server supports the Java Platform Debugger Architecture (JPDA). With JPDA, you can configure the Enterprise Server to communicate debugging information using a socket.
To debug an application using a debugger:
Enable debugging in the Enterprise Server using the Administration Console:
Expand the Configuration node.
Select the JVM Settings node. The default debug options are set to:
-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=9009 |
As you can see, the default debugger socket port is 9009. You can change it to a port not in use by the Enterprise Server or another service.
Select the Debug Enabled check box.
Click the Save button.
Stop the Enterprise Server and then restart it.