Using weinre to debug mobile applications: Difference between revisions

From Verge3D Wiki
Jump to navigationJump to search
Created page with "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..."
 
(No difference)

Revision as of 07:37, 22 August 2021

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/