Using weinre to debug mobile applications

From Verge3D Wiki
Revision as of 07:37, 22 August 2021 by Alexander (talk | contribs) (Alexander moved page Using weinre to debug Verge3D applications to Using weinre to debug mobile applications without leaving a redirect)
Jump to navigationJump to search

This method is very useful for debugging apps on iOS when you have no access to Safari on desktop/laptop system.

First, install and run weinre:

sudo npm -g install weinre
weinre --boundHost 192.168.X.X

Add the following script to your main HTML file just before v3d.js import:

<script src="http://192.168.X.X:8080/target/target-script-min.js"></script>

Open the following page in your favorite web browser:

http://192.168.X.X:8080/client/