Sun Java Studio Enterprise 8 can be used for remote debugging if you want to manually attach the IDE to a remote Web Server started in debug mode. The steps are as follows:
Restart the server instance in the debug mode by using the Sun Java System Web Server Administration interface (Server Manager > JVM General > Debug Enabled).
Note the JPDA port number.
Start the IDE.
Choose Debug > Start.
Select the dt_socket method.
Enter the remote machine name and JPDA port number.
At that moment, any breakpoint created in the IDE on Servlet source code of a deployed application will be active.