Using weinre to debug mobile applications: Difference between revisions
From Verge3D Wiki
Jump to navigationJump to search
m Alexander moved page Using weinre to debug Verge3D applications to Using weinre to debug mobile applications without leaving a redirect |
No edit summary |
||
| Line 1: | Line 1: | ||
[[Category:JavaScript]] | |||
This method is very useful for debugging apps on iOS when you have no access to Safari on desktop/laptop system. | This method is very useful for debugging apps on iOS when you have no access to Safari on desktop/laptop system. | ||
Latest revision as of 08:15, 1 September 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/