mardi 8 décembre 2015

Weinre console logs aren't shown

I installed the latest version of weinre 2.0.0-pre-I0Z7U9OV. Everything (Elements, Resources, Network) seems to work as expected, except from the console.

My app has lots of console.log throughout the JS files, but I cannot see anything in weinre console, even though if I do a alert('XXX') in weinre console it shows up in my app. On the other hand if I do a console.log('test') in my app's console it shows in weinre. So I guess they are connected, but I don't know why the logs from the JS files aren't shown..

What am I missing?

Other details

  • I'm building an Ember.js app
  • Currently I'm testing with Chrome: both weinre and my app are opened in 2 tabs on Chrome
  • I must use weinre to debug Chrome on iOS since there is no other solution



Aucun commentaire:

Enregistrer un commentaire