Appetize Docs
HomeDemoUploadPricing
  • Introduction
  • Platform
    • App Management
      • Uploading Apps
        • Android
        • iOS
      • App Dashboard
      • Running Apps
      • App Permissions
    • Device Sandbox
    • Embedding
    • Sharing
    • Session Inactivity Timeout
    • Query Params Reference
  • Features
    • Devices & OS Versions
    • Network Traffic Monitor
    • Debug Logs
    • UI Automation
    • Proxy
    • Language & Locale
    • Mock Location
    • Deep links
    • Launch Params
    • Media
    • Auto-grant Permissions
    • Custom Branding
    • Custom Launch Pages
    • Advanced Features
      • Android
        • ADB tunnel
        • Hide Password Visibility
      • Reserved Devices
  • Account
    • Invite your team
    • Single Sign-On
      • OpenID Connect
      • SAML
      • Azure Active Directory
      • Google Workspace (GSuite)
    • Reporting
      • Session History
      • Usage Summary
  • Infrastructure
    • Configure Network Access
    • Enterprise Hosting Options
  • JavaScript SDK
    • Configuration
    • Automation
      • Device commands
      • Touch interactions
    • API reference
      • Initialization
      • Client
      • Session
      • Types
        • AdbConnectionInfo
        • AppetizeApp
        • AndroidElementAttributes
        • Coordinates
        • DeviceInfo
        • Element
        • ElementBounds
        • IOSAccessibilityElement
        • IOSElementAttributes
        • NetworkRequest
        • NetworkResponse
        • SessionConfig
        • SwipeMove
        • RecordedAction
        • RecordedSwipeAction
        • RecordedKeypressAction
        • RecordedPosition
        • RecordedTapAction
        • RecordedTouchAction
        • UserInteraction
  • Testing
    • Getting Started
    • Writing Tests
    • Running Tests
    • Test Configuration
    • Continuous Integration
    • Record Tests (experimental)
    • Trace Viewer
    • Web Tests on Mobile Browsers
  • REST API
    • Create new app
    • Update existing app
    • Direct file uploads
    • Delete app
    • List apps
    • Usage summary
    • Devices & OS Versions
      • v1
    • IP Blocks
      • v1
    • Sample code
  • Guides & Samples
    • Impersonation
    • Automate Sign-in Flow
    • Screenshot Automation
    • Unlock Device
    • Validate Analytics Events
    • Lock Your Device to One App
    • Test Accessibility Font Sizes
    • Common testing scenarios
    • Samples Repository
  • Deprecated
    • Cross-document messages
  • Changelog
  • Additional Support
    • Knowledge Base
    • Support Request
Powered by GitBook
On this page
  • Capture Debug Logs
  • With Query Parameter
  • With JavaScript SDK
  • Inspecting Debug Logs
  • With App Page
  • With JavaScript SDK
  1. Features

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.

PreviousNetwork Traffic MonitorNextUI Automation

Last updated 1 month ago

Note by default, a user needs to be authenticated to view debug logs for their app. See for more information.

Capture Debug Logs

Debug logs are generated by your app using or for iOS and 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 for more information.

With JavaScript SDK

Set debug: true in the configuration e.g.

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

See 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

https://appetize.io/app/{appId|buildId|publicKey}?&debug=true

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

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

// check debug logs
session.on('log', (data) => {
    console.log(data.message)
})

or by going to your page, selecting the app you want to inspect, and then clicking debug on the latest build or choosing a specific build you would like to debug.

See our JavaScript for more information.

Apps
App Permissions
NSLog
Logger
Log
API Reference
Query Params Reference
Select Debug for the app or a specific build
Example Debug logs from App Page
Configuration