Questions tagged [weinre]

weinre is WEb INspector REmote. Pronounced like the word "winery" **weinre** is a debugger for web pages, like FireBug (for FireFox) and Web Inspector (for WebKit-based browsers), except it's designed to work remotely, and in particular, to allow you debug web pages on a mobile device such as a phone.

weinre is a debugger for web pages, like FireBug (for FireFox) and Web Inspector (for WebKit-based browsers), except it's designed to work remotely, and in particular, to allow you debug web pages on a mobile device such as a phone.

some related links

latest doc: http://people.apache.org/~pmuellr/weinre/docs/latest/

issues:

Google Groups discussion: http://groups.google.com/group/weinre

Do you need to use weinre?

weinre was built in an age when there were no remote debuggers available for mobile devices. Since then, some platforms are starting to provide remote debugger capabilities, as part of their platform tool set.

Android: Remote Debugging on Android with Chrome

iOS: Enabling Web Inspector for iOS

Firefox OS: Debugging on Firefox OS

Windows Phone: Debug Your App Built with Visual Studio Tools for Apache Cordova (note: as of 2015/01/15, that page suggests weinre as the debugger for Windows Phone)

80 questions
1
vote
0 answers

How to see javascript syntax errors in xcode?

I am building a hybrid app on xcode. There is headache to find out javascript errors in xcode. You know in eclipse we can see all javascript syntax error as well as logs on eclipse console. Here in xcode i cant able to see any javascript syntax…
mayur
  • 206
  • 2
  • 15
1
vote
1 answer

Using weinre to debug an cordova iOS app

I'm looking for a way to debug a cordova app running on iOS. Will weinre work with an app that is already compiled ?
ridan
  • 858
  • 3
  • 11
  • 24
1
vote
1 answer

Debug client code in Android/iPad/iPhone

I have been trying to find a way to debug client code in mobile devices browser. For Android, I have located this: https://developers.google.com/chrome/mobile/docs/debugging For iPad/iPhone, weinre seem promising but I have not been able to get it…
user1416682
  • 991
  • 1
  • 7
  • 8
1
vote
3 answers

Weinre on heroku

I am trying to set up Weinre on heroku but I am having some issues. I manage to build the app, simply by using a package.json with weinre npm dependency and a Procfile that looks like the following web: node_modules/weinre/weinre --httpPort…
Felipe Sabino
  • 17,825
  • 6
  • 78
  • 112
0
votes
1 answer

Debug an IOS app on Windows PC

I have developed a mobile app for IOS, Andriod and Windows devices. The application was developed with Phonegap. I am running into a few issues while testing. Everything works perfect on Android, Windows and iPad, however once the app is on an…
Jon Nowak
  • 99
  • 3
  • 10
0
votes
2 answers

weinre - error in console - is weinre still active?

I have used weinre in the past for debugging sites remotely because it lets me see the remote console log. Today, I came back to it to debug a remote site after some months of not using it. I'm getting this error in the console with the same setup I…
Martin Massera
  • 1,718
  • 1
  • 21
  • 47
0
votes
1 answer

Installing weinre gives me some error

I am trying to install weinre in windows 7 through windows powershell using the command npm install -g weinre after downloading node js, but it is throwing following error PS C:\windows\system32> npm install -g weinre npm ERR! Windows_NT…
Manideep Yechuri
  • 293
  • 1
  • 3
  • 14
0
votes
1 answer

Weinre not displaying styles

I'm running weinre and ngrok to debug my https application on iOS Chrome. I got it running great, I can inspect the html, and as I hover over stuff it gets highlighted on the page as you'd expect. My only problem is that styles are not showing up at…
Joshua Ohana
  • 5,613
  • 12
  • 56
  • 112
0
votes
0 answers

Weinre - Not able to detect my mobile in Target

I'm trying to run weinre on my laptop IP (Say 130.x.x.x) and both the mobile and laptop are in the same WiFi network. I have added the script file URL in the index.html of my ionic project. When i try to open the weinre or target-script-min.js file…
0
votes
1 answer

weinre debugger server reporting invocation exception

I'm using WEINRE to debug/inspect a Cordova/Ionic app on Windows Phone 8 emulator (versions below). When I run the WEINRE server, it works fine and I can inspect the app OK but the terminal where I started the server is logging around 100 errors…
mmarlow
  • 246
  • 3
  • 11
0
votes
3 answers

Why I cannot use cordova-sqlite-storage?

I am writing an android app, I am using phonegap and with weinre for debugging. Some info: $ phonegap -v 5.3.9 $ cordova plugin list cordova-plugin-whitelist 1.2.0 "Whitelist" cordova-sqlite-storage 0.7.14 "Cordova sqlite storage plugin" The plugin…
dspjm
  • 5,473
  • 6
  • 41
  • 62
0
votes
1 answer

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…
RaresI
  • 461
  • 1
  • 6
  • 19
0
votes
2 answers

Error in installation of npm packages

when trying to install browser-sync I get the following error on my windows command prompt. then i tried to install weinre and I get the following error on my windows command prompt. when I navigate to C:\Windows\system32\npm-debug.log as it…
0
votes
1 answer

Not able to debug phonegap app running on windows 8 mobile

I have a phonegap application that has some layout problems. I can run the app in browser for the most part, and this usually get me over the line. But with a new design I need to debug the application layout on windows phone 8. I'm currently…
Syed
  • 1
  • 4
0
votes
2 answers

How to load WEINRE dynamically?

I do not want to include WEINRE script in head section and I would like to load it on demand (on button click). I tried: $.getScript('http://path-to-weinre-script.js#anonymous') After loading WEINRE script client starts to make calls to…
untitled
  • 1,037
  • 2
  • 12
  • 27