Enabling and Disabling Debuggers

Debuggers are used to debug remotely deployed applications by attaching to a running application. Before debugging a remotely deployed application, you must enable debuggers on the nodes on which the application is deployed.

Enabling Debuggers

Caution: Debuggers should not be enabled in production systems as a rogue process could attach to a debugger and halt the node.
Note: Enabling a debugger will increase the time it takes to receive responses to requests sent to applications running on the node.

Procedure

  1. Navigate to a nodes list.
  2. Click a node.
  3. Click the Configuration tab.
  4. Click the Debuggers link.
  5. Click the next to a debugger type.
    The debugger properties display.
  6. If the port property is not set:
    1. In the row for the Debug Port, click the Property Value column, and type a port value that is not currently used on the node's host.
    2. Click in another column. The Save button is enabled.
    3. Click Save.
    The Synchronization column changes to Out of Sync.
  7. Click a debugger and click Enable.
    Debugger Type Result
    Java The State column changes to Enabled.
    Platform An application com.tibco.amf.debugger.daa.NodeName is created if one does not exist and the application is deployed on the node and started. The State changes to Enabling and then Enabled.
  8. If you have enabled a Java debugger, restart the node.

Disabling Debuggers

Procedure

  1. Navigate to a nodes list.
  2. Click a node.
  3. Click the Configuration tab.
  4. Select a debugger and click Disable.
    The debugger is disabled.

    If you disable the platform debugger, the application com.tibco.amf.debugger.daa.NodeName that was created when you enabled the debugger is deleted.