Remote debugging is the process of debugging an application that is running on a
different computer. This technique is useful when you are developing an application
that runs on a web server or on a different environment than the computer on
which you are developing the application.
To start a remote debugging session:
On the computer where the application is located, start the application in debugging
mode. See your VM documentation for instructions on starting an application in
debugging mode. For the Sun Microsystems Java Virtual Machine, the options
can be found at:
On the computer where the IDE is running, open the projects that contain
the source for the application.
Choose Debug > Attach Debugger.
Select the connector type and enter any required process information, then
click OK. See your VM documentation for information about the connectors it
provides.