Skip to end of metadata
Go to start of metadata


If you want to debug your Android app using Chrome DevTools, see Debugging Android Apps with 3rd-party Tools for details!


Titanium SDK enables Studio to initiate a debug session on an Android device. Debugging on an Android device involves the following steps:

  • User selects Debug on Android Device.
  • Studio builds the application.
  • Application is installed on the device.
  • Application launches on the device.
  • Application initiates debug session with Studio.

This page will guide you through the setup, and the launch, of a debug session.


You must already be set up to run applications on your Android device, as documented in Deploying to Android Devices.

Starting a Debug Session

Before debugging, you must have created a Titanium project with an Android deploy target. 

  1. Make sure your project is selected in the Project Explorer view.
  2. In the global tool bar, select Debug from the Launch Mode drop-down list.
  3. Select the Android device you want to launch your project on in the Target drop-down list.
  4. Click the Launch button.
  5. Studio builds the application and installs it on the device.

The application will launch on the device and you can use the Debug perspective to start debugging your application.

After you have launched one debug session for a given application, Studio creates a launch configuration for you, named Titanium Android Device - <AppName>.  You can select this launch configuration, after launching the Debug Configuration wizard by select Debug Configurations from the Target drop-down list, to skip the wizard and start a new debug session using the same parameters.

To change the SDK version that the application is built against:

  1. In the global tool bar, select Debug from the Launch Mode drop-down list.
  2. Select the Debug Configuration from the Target drop-down list.
  3. Select the name of the launch configuration and click Apply to save changes or Debug to save changes and start a new debug session.

Related Topics