移動端頁面調試weinre

.移動端頁面調試
1.設置端口號,默認爲8080
weinre --boundHost -all- --httpPort 8081
2.引入目標js
<script src="http://192.168.0.108:8081/target/target-script-min.js#test"></script>
3.PC chrome訪問,就可調試
http://localhost:8081/client/#test
相關文章
相關標籤/搜索