Remote Debug Bridge CLI is a command-line tool that allows you to use a remote device as a local device.
This allows you to develop and debug on several devices that are managed in the Cloud Server.
Prerequisites - On Mac
- Install the SeeTest Remote Debugging tool.
- Works only on a Mac machine.
- Requires good network conditions between the cloud machine and the local machine.
- iTunes and Xcode must be closed before starting the remote debugging.
- Android - can work with up to 4 devices in parallel.
Prerequisites - On Windows:
- Download remote debug utility from cloud
- Unzip the utility
- Go to the folder where the content was unzipped
- Android - can work with up to 4 devices in parallel
Commands and Descriptions
|help||none||Prints help message to the console|
|version||none||Prints the product version|
|Connects to device from cloud server and starts remote debugging|
|[--url <cloud server url>]||Full URL of the cloud server, i.e: https://cloud.experitest.com|
|[--access-key <access key>]||User access key|
|[--serial-number <device serial number>]||Device to use in remote debug session|
|repair||Fixes connection issues with iOS devices (requires admin permissions)|
|[-v]||Verbose (print log to console)|
|log||Receives the path to the Remote Debug Bridge tool log file|
Stores the username and password for connecting to the cloud server (data encrypt)
Stores the Cloud Server information
|-ip <ip_adress>||Cloud server IP|
|[-project <project name>]||Project name|
Generates fake symbols for Xcode, this Will allow the session to start quicker.
Debugging an iOS app won't work when running with fake symbols
|-os_version||Device os version with a device build number(docs below on how to use)|
This example will demonstrate how to work with a remote Android device.
Run rdb start-remote-debug to connect to the remote device.
The device is now attached as local to the client machine.
You must keep the console alive during the remote session, closing the console will disconnect the remote device.
The device must be reserved, releasing the device or session timeout will disconnect the remote device.
- You can now open Android Studio to work with the connected device.
- locate device version, and build number can be located in Xcode → Window → Devices → under the device name
- Some devices require an architecture field as well, those can be below in arm64e architecture list.
- In case your device model is in the list then you should add arm64e to the os_version parameter.
- iPhone 7 with iOS version 12.4.5 that is not in the arm64e architecture list – > os_version should be "12.4.5 (16G161)"
- iPhone SE with iOS version 14.4 that appears in the arm64e architecture list → os_version should be "14.4 (18D52) arm64e"
- Please wrap the OS version parameter in double-quotes as seen in the examples
|Year of release||device||device||device||device||device||device||device|
|2018||iPhone XS||iPhone XS Max||iPhone XR|
|2019||iPad Mini 5||iPad Air 3||iPhone 11||iPhone 11 Pro||iPhone 11 Pro Max|
|2020||eighth-generation iPad||iPhone SE 2||fourth-generation iPad Air||iPhone 12 mini||iPhone 12||iPhone 12 Pro||iPhone 12 Pro Max|
Android - ADB version mismatchThe ADB version in the SeeTest Remote debugging installation folder <Installation_Folder>\bin\adb\ must be the same version as in your Android SDK folder.
To check the version, open the command line and run the command ADB version from the ADB folder.
- iOS - Local devices do not return after using the Remote Debugging feature
Please try the following:
- Close iTunes and Xcode and then reopen them again
- Run the command rdb repair
iOS & Android - Failed to connect to the RDB daemon
In order to establish a connection with the remote device, we need to restart the remoteDebuggingDaemon daemon