Remote debugging is the process of debugging a program that is running on a
different computer. This technique is useful when you are developing a program
that runs on a web server or on a different environment than the computer on
which you are developing the program.
To start a remote debugging session:
On the computer where program is located, start the program in debugging
mode. See your VM documentation for instructions on starting a program 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 program.
Choose Run > 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.