title: How to debug phonegap windows phone 8.1
body: <p>I'm new to windows phone development and found that I don't know how to debug a cordova/phonegap app with windows phone emulator.</p>
  
  <p>I found out that using <code>weinre</code> (<a href="http://people.apache.org/~pmuellr/weinre/docs/latest/" rel="nofollow">from here</a>) it's possible to debug app, but still haven't found how to connect it with emulator (Using <code>&lt;script src="http://127.0.0.1:8080/client/#anonymus"&gt;&lt;/script&gt;</code> in index.html have not worked)</p>
  
  <p>So, I have 2 possible answers to 2 possible questions:</p>
  
  <p>1) How can I debug my cordova/phonegap app for windows phone?</p>
  
  <p>2) If using weinre, how can I make it work so I can debug my app?</p>