Remote Debugging

You can debug an application running on a remote AppNode through TIBCO Business Studio™ for BusinessWorks™.

Procedure

  1. Enable the AppNode for debugging. (The AppNode must be running.)
    1. Open the network in the Deploy pane and choose the AppNode. The AppNode properties are displayed in the Properties pane.

    2. Click the Enable Debug icon in the Properties pane to enable remote debugging.
    3. Enter the interface and port for remote debugging on the selected AppNode in the Enable Remote Debugging dialog box.
      • Debugger Interface: The interface for the debugger. This value is auto-generated.
      • Debugger Port: The port to use for remote debugging. This is the same as the port number you entered for the remote debug configuration. This port cannot be in use. If the port is in use, the following message is displayed at the top of the dialog box: Internal server error

    Note: The remote debugger can also be launched with the Debug icon in the Properties view. The connection parameters on the Enable Remote Debugging dialog box will automatically be entered based on the AppNode configuration.
  2. In TIBCO Business Studio for BusinessWorks, create a Remote Debug launch configuration.
    1. Choose Run > Debug Configurations.
    2. In the Debug Configuration dialog box, choose Remote BusinessWorks Application > New_configuration. Enter the following information:
      • Name: The name of the configuration.
      • Host: The name of the host. This is the agent name. To find the agent name, right-click the network name in the Deployment Servers window and choose Edit. The agent name is displayed in the Agent HTTP Interface field of the Add Network dialog box.
      • Port: The remote debug port. The port cannot be in use.
  3. Deploy the application you want to debug to a network. For more information, see Deploying an Application.
  4. Launch the application using the Remote Debug launch configuration.
    The application is launched in the debugger. Confirmation is displayed in the Debug window.