Comment on page
Development & Debugging
Debugging your xApp is tricky: it runs on your phone. How to access the logs?
Some things that may help debugging your xApp:
If you open your own xApp using the device you added in the Xumm Developer Console as debug device (using the Device Identifier), the OTT (one time token) can be replayed when visiting from the same IP address.
Note: Replaying OTT's only works if you force your browser to identify with the user agent xumm/xapp. In the Chrome Developer Console, on the Network tab, click the "Radio antenna signal" icon and uncheck "Use browser default" next to User agent.
- Make sure your device (Xumm - Settings - Advanced) is whitelisted as Debug Identifier in the Xumm Developer Console
- Make sure your phone and computer are visiting from the same public IP address (e.g. by having them both on the same WiFi and internet connection
- Obtain your OTT in the xApp: it's the value of the
xAppTokenquery parameter. Your xApp is being called with
- Now open your public xApp URL with
/forceappended, and include the xApp Token. E.g. if your xApp launch URL is:
https://xumm.app/detect/xapp:sandbox.abcd1234... You open (in your browser):
You will now see your xApp in your browser.