# Local Android Phone Debugging

There are many ways you can connect your android phone to your computer to start debugging your app locally on real device.

## USB debugging

On your phone, in the settings app, turn on developer mode. Go to `About phone` -> `Software information`  and click multiple times on Build number. It may ask you to unlock your phone.

Then, navigate to developer settings and find the USB debugging option and turn in on.

<figure><img src="https://1720293510-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7cPs2j0GvSzYIyVs3t35%2Fuploads%2FMi6h7xVKkm4Kr7n9nvBw%2F028fd694-00f4-4d45-92e4-0d15807d8d99.jpg?alt=media&#x26;token=e527d546-b157-4cc0-b37c-cf7ca181f0f5" alt="" width="375"><figcaption><p>Settings ->  Developer options -> USB debugging</p></figcaption></figure>

Now, connect your phone via a USB cable to your computer. Confirm on your phone that you want to allow access.

Now, your phone should be visible in the dropdown selection in Visual Studio.

<figure><img src="https://1720293510-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7cPs2j0GvSzYIyVs3t35%2Fuploads%2FpzPw7gyi8jWKQHChvubW%2Fimage.png?alt=media&#x26;token=2fcbb1b5-16ea-48b7-9a75-30e27a3dd878" alt=""><figcaption></figcaption></figure>

## Wirelessly with ADB

source: [https://developer.android.com/tools/adb](https://developer.android.com/tools/adb)
