ITeye博客

手机浏览器web应用调试

qlqllu · 2013-08-12 12:58 · nodejs · weinre · Web前端 · Markdown

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.

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。