# Debugging

Make sure you have the [latest app version](https://trustwallet.com/download), check if there is any new update on Google Play or App Store

## 1. Install a mobile web console

We use [vConsole](https://github.com/Tencent/vConsole) on our test dapp: <https://js-eth-sign.surge.sh/>, click the bottom green `vConsole` button to see logs.

<div><img src="/files/-MZSTl7T2HJ6ers4VK46" alt="" width="45%"> <img src="/files/-MZSTl7UMQBY22esNvTg" alt="" width="45%"></div>

## 2. \[Android] Chrome Remote debugging

Download Trust Wallet apk from [trustwallet.com](https://trustwallet.com/download) and drag it to your emulator. (app installed from Google Play won't work)

Open the dapp in Trust Wallet (1inch.io as example)

<div><img src="/files/-MZSTl7VZr2hF4428v4m" alt="" width="45%"> <img src="/files/-MZSTl7WGBKiRu8XprNL" alt="" width="45%"></div>

Visit `chrome://inspect/#devices` or `edge://inspect/#devices` to inspect the web console

![Edge inspect](/files/-MZSTl7XH6_7R0PPyIlk) ![Edge inspect](/files/-MZSTl7Ycv4sm2Vu1qPN)

## 3. \[iOS] Safari WebView debugging

iOS doesn't support debugging app built for distribution, you can try to build this iOS demo in [trust-web3-provider](https://github.com/trustwallet/trust-web3-provider/tree/main/packages/ios-web3-provider) and check if it can connect to your DApp or not, please follow this [guide](https://webkit.org/web-inspector/enabling-web-inspector/) to inspect.


---

# 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://developer.trustwallet.com/developer/listing-guide/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.
