Trinity CLI provides an easy way to run and debug your DApp from your development station.
Run the following command:
# To deploy and run on android - check the CLI help for other options. $ trinity-cli run -p android
What happens in background:
ionic serveis called to start a simple server that the DApp will contact to get your DApp files.
Note that as soon as your device stops being on the same network as your computer, or if the
trinity-cli run command is stopped, your DApp in trinity will show a network error with an empty page.
Open the Chrome browser on your computer and visit
chrome://inspect to inspect your DApp pages.