Using Offline Debug

You're viewing Apigee X documentation.
View Apigee Edge documentation.

The Offline Debug tool lets you view and analyze "offline" debug sessions that were previously downloaded. A saved debug session is essentially a "recording" of a debug session, and can be useful for cases where troubleshooting and further analysis is required. The UI for the Offline Debug tool is similar to the "live" Debug tool.

To learn about the Debug Tool UI and on downloading debug sessions, see Using Debug.

To view downloaded debug data using Offline Debug:

  1. Sign in to the Apigee UI.
  2. Select API Proxies from the main view.
  3. Select Develop > Offline Debug.

    The Offline Debug view displays:

    Debug view

    Note the following regions of the Offline Debug view:

    • Debug file: Displays the request type. Use this area to navigate among the requests.
    • View Options: Displays configuration options, as described in Using Debug.
    • Debug Session Details: Displays details about the debug session.
    • Transactions Map: Shows the path of the request through the API proxy; this path is known as the transaction map; it shows which policies were encountered and indicates if any errors occurred during the execution of those policies.
    • Phase Details: Shows the request headers for the currently selected request.

    When viewing debug data in the Apigee UI, you can toggle various options such as whether to view policies that are disabled or variables and properties. For more information, see Debugging with the debug tool.

  4. To load data into the Offline Debug view, click the Choose File button in the left-hand pane of the Offline Debug tool and select a previously downloaded offline trace session file in JSON format.

  Debug view

    Note: Do not use the Choose File button in the right-hand pane, as it does not accept JSON files.

    The Apigee UI loads the debug file's data and displays it.