Using weinre to debug mobile applications

From Verge3D Wiki
Revision as of 08:15, 1 September 2021 by Temporary (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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/