Sun Java System Web Server 6.1 SP6 Programmer's Guide to Web Applications

ProcedureTo manually attach the IDE to a remote Web Server

  1. Using the Sun Java System Web Server Administration interface, restart the server instance in debug mode (Server Manager > JVM General > Debug Enabled).

  2. Note the JPDA port number.

  3. Start the IDE.

  4. Choose Debug > Start.

  5. Select the dt_socket method, and then enter the remote machine name and the JPDA port number.

  6. At that moment, any breakpoint created in the IDE on servlet source code of a deployed application will be active.

    For more information about the Sun Java Studio 8 plugin for Sun Java System Web Server, and about using Sun Java Studio, see Using Sun Java Studio.