Mobile Web Debugging
Last updated
Last updated
Developers can debug their mobile web dapps using PC browsers. To enable this in Phantom mobile go to Settings -> Developer Settings and toggle Web View Debugging on. Then follow the steps below for your platform.
iOS
Tether your iPhone to your computer via USB
On your iPhone go to Settings -> Safari -> Advanced and enable "Web Inspector"
On your computer open Safari. Then from the menu bar Safari -> Settings -> Advanced tab -> enable "Show features for web developers"
Open your web dapp in Phantom on your tethered device
Back on your computer from the Safari menu bar go to Develop -> [Your Device] -> [Your Dapp]
Android
Tether your Android phone to your computer via USB
Open your web dapp in Phantom on your tethered device
On your computer open chrome://inspect/#devices on Chrome
Select your device on the left and select "Inspect" on the Phantom dapp contents you'd like to inspect
See the React Native Webview Docs for more info.