# 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="/files/mhGE4qscmIeBV55Z319B" 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="/files/cbWjsiU5bKaCmhEdsNba" alt=""><figcaption></figcaption></figure>

## Wirelessly with ADB

source: <https://developer.android.com/tools/adb>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://plutolabs.gitbook.io/plutoframework/debugging/local-android-phone-debugging.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
