La herramienta Depuración sin conexión te permite ver y analizar las sesiones de depuración "sin conexión" que se descargaron antes en la vista Depuración en el editor de proxy. Una sesión de depuración guardada es en esencia una “grabación” de una sesión de depuración y puede ser útil en los casos en que se requieren soluciones de problemas y análisis adicionales. La IU para la herramienta de depuración sin conexión es similar a la vista de depuración en el editor de proxy.
Para obtener más información sobre la IU de la herramienta de depuración y cómo descargar sesiones de depuración, consulta Usa la depuración.
Editor de proxies nuevo
Para ver los datos de depuración descargados con la depuración sin conexión, sigue estos pasos:
Para cargar datos en la vista Depuración sin conexión, haz clic en el botón Abrir sesión de depuración y selecciona un archivo de sesión de depuración sin conexión en formato JSON descargado previamente.
Nota: Cuando descargas una sesión de depuración en la vista de Depuración del Editor de proxy, el nombre del archivo de descarga tiene el formato 'debug-{session ID}.json', en el que {session id} es el ID de la sesión de depuración. Sin embargo, puedes cambiar el nombre del archivo si lo deseas.
La IU de Apigee carga los datos del archivo de depuración y muestra una fila nueva para la transacción en el panel de la izquierda.
Haz clic en la fila de la transacción en el panel de la izquierda para mostrar un diagrama de Gantt de la transacción en un diagrama de Gantt.
Desde aquí, puedes explorar la sesión de depuración como lo harías en la vista Depuración en el nuevo Editor de proxy. Consulta la sección "Visualiza el diagrama de Gantt para una solicitud y una respuesta".
Editor de proxies clásico
Para ver los datos de depuración descargados con la depuración sin conexión, sigue estos pasos:
Ten en cuenta las siguientes regiones de la vista Depuración sin conexión:
Debug file: Muestra el tipo de solicitud. Usa esta área para navegar entre las solicitudes.
View Options: muestra las opciones de configuración, como se describe en Usa la depuración.
Debug Session Details: Muestra detalles sobre la sesión de depuración.
Transactions Map: Muestra la ruta de la solicitud a través del proxy de API. Esta ruta se conoce como mapa de transacciones. Muestra qué políticas se encontraron y si se produjeron errores durante su ejecución.
Phase Details: Muestra los encabezados de la solicitud para la solicitud seleccionada actualmente.
Cuando visualizas datos de depuración en la IU de Apigee, puedes activar o desactivar varias opciones, por ejemplo, para ver políticas inhabilitadas o variables y propiedades. Para obtener más información, consulta Depura con la herramienta de depuración.
Para cargar datos en la vista Depuración sin conexión, haz clic en el botón Elegir archivo ubicado en el panel izquierdo de la herramienta Depuración sin conexión y selecciona una descarga anterior del Archivo de sesión de seguimiento sin conexión en formato JSON
Nota:No uses el botón Elegir archivo en el panel derecho, ya que no acepta archivos JSON.
La IU de Apigee carga los datos del archivo de depuración y los muestra.
[[["Fácil de comprender","easyToUnderstand","thumb-up"],["Resolvió mi problema","solvedMyProblem","thumb-up"],["Otro","otherUp","thumb-up"]],[["Difícil de entender","hardToUnderstand","thumb-down"],["Información o código de muestra incorrectos","incorrectInformationOrSampleCode","thumb-down"],["Faltan la información o los ejemplos que necesito","missingTheInformationSamplesINeed","thumb-down"],["Problema de traducción","translationIssue","thumb-down"],["Otro","otherDown","thumb-down"]],["Última actualización: 2025-09-04 (UTC)"],[[["\u003cp\u003eThe Offline Debug tool in Apigee and Apigee hybrid allows users to view and analyze previously downloaded debug sessions.\u003c/p\u003e\n"],["\u003cp\u003eUsers can access the Offline Debug tool via the Google Cloud console (Debug v1 or v2) or the Classic UI, with similar navigation structures across platforms.\u003c/p\u003e\n"],["\u003cp\u003eTo load a debug session in the Offline Debug tool, users must select a downloaded JSON file (typically named \u003ccode\u003edebug-{session ID}.json\u003c/code\u003e) via the "Open Debug Session" or "Choose File" button.\u003c/p\u003e\n"],["\u003cp\u003eOnce a debug session is loaded, users can explore the transaction details, including the transaction map and phase details, to troubleshoot and analyze API proxy behavior.\u003c/p\u003e\n"],["\u003cp\u003eThe Offline debug tool allows for analysis and debugging to occur even when the debug session is not actively running.\u003c/p\u003e\n"]]],[],null,["# Using Offline Debug\n\n*This page\napplies to **Apigee** and **Apigee hybrid**.*\n\n\n*View [Apigee Edge](https://docs.apigee.com/api-platform/get-started/what-apigee-edge) documentation.*\n\nThe Offline Debug tool lets you view and analyze \"offline\" debug sessions that were\n[previously downloaded](/apigee/docs/api-platform/debug/trace#downloading-a-debug-session)\nin the **Debug** view in the Proxy Editor. A\nsaved debug session is essentially a \"recording\" of a debug session, and can be useful for cases\nwhere troubleshooting and further analysis is required. The UI for the Offline Debug tool is\nsimilar to the **Debug** view in the Proxy Editor.\n\nTo learn about the Debug Tool UI and on downloading debug\nsessions, see [Using Debug](/apigee/docs/api-platform/debug/trace).\n**Note:** The Debug Tool is available in the Google Cloud console, the Classic UI, and some debug actions can be performed using the API as described in the following tabs. The Google Cloud console options are Debug v2 (new) and Debug v1 (released [07/01/2022](/apigee/docs/api-platform/release-notes#July_01_2022)). You can switch between versions of the Debug Tool in the Google Cloud console and the Classic UI. \n\n### Cloud Console UI\n\n### Debug v2 (new)\n\nTo view downloaded debug data using Offline Debug:\n\n1. Sign in to the [Google Cloud console](https://console.cloud.google.com/apigee).\n2. Select **Develop \\\u003e Offline Debug**.\n\n The **Offline Debug** view displays:\n3. To load data into the **Offline Debug** view, click\n **Open Debug Session** , select a\n [previously downloaded](/apigee/docs/api-platform/debug/trace#download) offline debug session file in JSON format,\n and then click **Open**.\n\n **Note:** When you download a debug session in the Proxy Editor\n **Debug** view, the name of the download file has the form\n `debug-{session ID}.json`, where `{session id}`\n is the ID of the debug session; however, you can rename the file\n if you wish.\n\n The Apigee UI loads the debug file's data and displays all of\n the transactions in the list in the **Transactions** panel.\n4. Click the row for the transaction in the **Transactions** panel to display the transaction in the **Transaction Map** .\n\nFrom here, you can explore the debug session just as you would for\na newly-created debug session. See\n[Creating a debug session](/apigee/docs/api-platform/debug/trace#creating-a-debug-session) for more information.\n\n### Debug v1\n\nTo view downloaded debug data using Offline Debug:\n\n1. Sign in to the [Google Cloud console](https://console.cloud.google.com/apigee).\n2. Select **API Proxies** from the main view.\n3. Select **Develop \\\u003e Offline Debug**.\n\n The **Offline Debug** view displays:\n\n4. To load data into the **Offline Debug** view, click the\n **Open Debug Session** button\n and select a [previously downloaded](/apigee/docs/api-platform/debug/trace#download)\n offline debug session file in JSON format.\n\n **Note:** When you download a debug session in the Proxy Editor **Debug** view,\n the name of the download file has the form 'debug-{session ID}.json', where {session id}\n is the ID of the debug session. However, you can rename the file if you wish.\n\n The Apigee UI loads the debug file's data and displays a new row for the transaction\n in the left-hand panel.\n\n5. Click the row for the transaction in the left-hand panel to display a Gantt chart of the transaction in a Gantt chart.\n\nFrom here, you can explore the debug session just as you would in the\n[**Debug** view in the new\nProxy Editor](/apigee/docs/api-platform/debug/trace#new-proxy-editor). See the section \"Viewing the Gantt chart for a request and response.\"\n\n### Classic UI\n\nTo view downloaded debug data using Offline Debug:\n\n1. Sign in to the [Apigee UI](https://apigee.google.com).\n2. Select **API Proxies** from the main view.\n3. Select **Develop \\\u003e Offline Debug**.\n\n The **Offline Debug** view displays:\n\n Note the following regions of the **Offline Debug** view:\n - **Debug file:** Displays the request type. Use this area to navigate among the requests.\n - **View Options:** Displays configuration options, as described in [Using Debug](/apigee/docs/api-platform/debug/trace).\n - **Debug Session Details:** Displays details about the debug session.\n - **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.\n - **Phase Details:** Shows the request headers for the currently selected request.\n\n When viewing debug data in the Apigee UI, you can toggle various options such as whether to\n view policies that are disabled or variables and properties. For more information, see\n [Debugging with the debug tool](/apigee/docs/api-platform/debug/trace#debuggingwithtrace).\n4. To load data into the **Offline Debug** view, click the\n **Choose File** button in the left-hand pane of the Offline Debug tool\n and select a previously downloaded offline trace session file in JSON format.\n\n **Note:** Do *not* use the **Choose File** button in the right-hand pane,\n as it does not accept JSON files.\n\n The Apigee UI loads the debug file's data and displays it."]]