1. Install weinre:?http://people.apache.org/~pmuellr/weinre/docs/latest/Home.html
npm -g install weinre
2. Run weinre: ?weinre options
? ? ?weinre --boundHost hostname/IP --httpPort 8081
3. Add a script tag into web page:
? ??<script src="http://a.b.c:8081/target/target-script-min.js"></script>
4. Access?http://a.b.c:8081/client to debug app.