てぃーだブログ › Ruby 勉強会 › はじめてのweinre

はじめてのweinre

2014年10月22日

参考URL: https://gihyo.jp/dev/serial/01/phonegap2/0003
「第3回 weinreを使ったiOS/Androidアプリの動作検証」
大変参考になりました。ありがとうございます。

weinre(WEb INspector REmote)とは,リモート接続可能な「Webインスペクタ」です!!

超まとめ
 # インスペクタ起動
DOS1> npm install weinre
DOS1> node_modules\.bin\weinre --boundHost -all-


 # ターゲットサーバ起動
DOS2> vi index.html # 以下のコード(a)を挿入
DOS2> grunt # サーバ起動


 # コード(a)
<script src="http://(IPアドレス):8080/target/target-script-min.js#(任意の文字列)"></script>


http://localhost:8080 # weinreの動作確認
http://localhost:8080/client/#(任意の文字列) # インスペクタ画面




Posted by kanedayo at 17:24│Comments(0)
上の画像に書かれている文字を入力して下さい
 
<ご注意>
書き込まれた内容は公開され、ブログの持ち主だけが削除できます。