Debug Logs

With Appetize, you can capture, inspect and troubleshoot all debug log events that occurred during your app session for real-time or later analysis.

circle-exclamation

Capture Debug Logs

circle-info

Debug logs are generated by your app using NSLogarrow-up-right or Loggerarrow-up-right for iOS and Logarrow-up-right for Android

To enable Appetize to capture all debug log events, you can choose to enable it through a query parameter or with the help of the JavaScript SDK.

With Query Parameter

Add the debug=true query parameter to your app or embed URL

&debug=true

See Query Params Reference for more information.

With JavaScript SDK

Set debug: true in the configuration e.g.

await client.config({
    debug: true,
    ...
})

See Configuration for more information.

Inspecting Debug Logs

With App Page

The app page provides a simple debug log of all the events that took place. You can access this via your app's app link

or by going to your Appsarrow-up-right page and clicking debug under the app you want to inspect.

Example App Link with Debug Action
Select "Debug" under your app
circle-info

Debug logs can also be downloaded via the Download debug log action at the top right of the log viewer. This is helpful when sharing logs with developers for troubleshooting purposes.

Example Debug logs from App Page

With JavaScript SDK

You can listen for all debug log events via our JavaScript SDK. To easily view them in the browser you can print them to the console or you can store it to file for later analysis

See our JavaScript API Reference for more information.

Last updated