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.
On the computer where the IDE is running, open the projects that contain
the source for the application.
Choose Debug > Attach Debugger to open the Attach dialog box.
Select the appropriate Connector from the drop-down list and enter any required process information.
Click OK.
Notes.
For details on the JPDA transport and connector options, see the JPDA documentation on Connection and Invocation for your JDK at the Java Platform Debugger Architecture Home
at the following location.
The instructions for starting an application in debugging mode and the method for connecting to the VM will depend on your VM.
See your VM documentation for further details.
You can view and select from the four most recent Attach configurations by expanding
the menu under the Debug button in the toolbar.