Sun ONE Studio 5 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:
Using the Sun Java System Web Server Administration interface, restart the server instance in debug mode (Server Manager > JVM General > Debug Enabled).
Note the JPDA port number.
Start the IDE.
Choose Debug > Start.
Select the dt_socket method, and then enter the remote machine name and the JPDA port number. At that moment, any breakpoint created in the IDE on servlet source code of a deployed application will be active.