I got an app that uses weinre and when developing on Android, BB10 and iOS I never had any issues. But on WP8 it kept disconnect pretty much instantly after connecting.
I found that if I do:
Weinre will disconnect. I've tried this with the Cordova hello world app and just adding in that line above disconnects weinre.