Skip to main content

Getting Started with Remote Application Debugging

Remote Debugging tool lets you connect to Mobile Devices (iOS & Android) hosted on Digital.ai Continuous Testing platform directly from your IDE (Android Studio or Xcode), as if the remote devices were physically connected to your computer. 

This eliminates the need for developers to maintain physical devices on hand, allowing for a more fluid debugging, development and testing process on the remote mobile devices.

In this guide, we’ll walk you through the steps to get started with Remote Application Debugging.

info
  • Remote Debugging on iOS Devices is only supported from a macOS machine.
  • Remote Debugging on an Android Devices is supported on both macOS and Windows machines.

Download the Remote Debugging CLI

To get started, open a mobile device in the Mobile Studio view. For detailed instructions, refer to Getting Started with Mobile Devices.

Within your Mobile Studio session, go to Tools > Remote Debugging. Here, you’ll find a link to download the Remote Debugging CLI:

warning

For Mac OS only

If you get a ‘malicious software' warning, go to your System Settings > Privacy & Security, and click Open Anyway. For more information, see Apple’s User Guide:

info

Open a Mac app from an unknown developer If you try to open an app by an unknown developer and you see a warning dialog on your Mac, you can override your security settings to open it.

-- Apple Support

:::

info

If you are behind a proxy, refer to Configure Proxy for Remote Debugging for setup instructions.

Once installed, open a Terminal, Shell or Command Prompt (Depending on your operating system) in the location where you have saved the Remote Debugging CLI.

To establish a connection, copy and paste the prompt provided within the Mobile Studio:

You’ll know a Remote Debugging session is active when the Tools icon displays a Red dot and the Remote Debugging icon turns Green :

info

The process for a starting a Remote Debugging session is the same for both iOS & Android devices.

For more information on this topic, visit the Resources for Developers section.