アップデレ
Weinre にはパッチが適用され、現在は正常に動作するはずです。npm https://npmjs.org/package/weinreから最新バージョンを試すことをお勧めし
ます
npm install -g weinre
weinre --boundHost -all-
元の答え
Cordova 固有のXHR パッチにより、weinre ロジックが壊れているようです。ターゲット スクリプトに js エラーが表示されます。
weinre target-script.js にクイック フィックスを追加したので、\target\target-script.js (または target-script-min.js) を次のファイルに置き換えることができます。
http://dl.dropbox.com/u/23085338/weinre-target-script-min-patched.js
重要。cordova.js の前に Weinre js を追加する必要があります
ただし、ローカル設定を必要とせずに weinre をページに接続する次の非常に簡単な方法をお勧めします。これをページに追加するだけです
<script type="text/javascript">
window.WeinreServerId = "wp_test"; // <-- your unique identifier on the server below
window.WeinreServerURL = "http://debug.phonegap.com"; // <-- weinre server to use
// To open debugger use the following uri format - WeinreServerURL/client/#WeinreServerId
// for example http://debug.phonegap.com/client/#wp_test
</script>
<script type="text/javascript" src="http://dl.dropbox.com/u/23085338/weinre-target-script-min.js"></script>
一般的なトラブルシューティングについては、Windows Phone 8 IE10 Javascript デバッグを参照してください。
アップデート
うまくいくはずのもう1つの簡単な修正は、(target-script-min.jsまたはtarget-script.jsで)置き換えることです
xhr = new XMLHttpRequest();
と
xhr = (XMLHttpRequest.noConflict ? new XMLHttpRequest.noConflict() : new XMLHttpRequest());