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
47
votes
1 answer

Network panel not working in weinre

I wanted to write an AJAX based hybrid Android application. I tried to get my head around weinre but I can't get the network panel to appear. It does not show regular network interactions and for any XHR interaction it states "status pending" and…
android_baby
  • 1,313
  • 1
  • 10
  • 13
16
votes
5 answers

Simulate session cookies in mobile sessions?

I discovered to my astonishment at the first glance that my thinking of how session cookies behave on mobile devices is overruled by reality. On normal desktop browsers the behavior is to store a session cookie as long as the browser session is…
yunzen
  • 32,854
  • 11
  • 73
  • 106
9
votes
2 answers

weinre with iPhone simulator

I am experimenting the PhoneGap development for IPhone. The environment is XCode 4.1, PhoneGap 1.0. I am using the Weinre remote debugger according to the tutorial provided by PhoneGap, when I run the app in IPhone Simulator, I got this error shown…
ycseattle
  • 3,687
  • 7
  • 36
  • 42
7
votes
2 answers

Weinre can't open .js files

I'm working on a PhoneGap mobile app. I'm encountering the same issue while using debug.phonegap.com and a local weinre server. When I click on any *.js hyperlink on a Weinre "Elements" page, the "Resources" page/tab opens up, but it's completely…
Kal
  • 185
  • 3
  • 12
6
votes
3 answers

Weinre style inspection not working with AngularJS

I'm trying to use Weinre to debug an AngularJS application, but the style inspection isn't working. I can use Weinre to select elements on the page, but it never shows the associated style information coming from CSS selectors. I've narrowed it…
chinabuffet
  • 5,278
  • 9
  • 40
  • 64
6
votes
3 answers

How do I debug an https loaded page using weinre?

I'm trying to debug using weinre, and have set up a simple test in Chrome to make sure everything is working. However, in the developer tools I get the error: "The page at 'https://myhost/...' was loaded over HTTPS, but ran insecure content from…
Michael
  • 9,060
  • 14
  • 61
  • 123
6
votes
4 answers

Setting up weinre remote debugging

Instructions for running weinre state that I need to insert following script: where http://a.b.c is my server IP or host name. Couple of questions: Does this mean that I must…
dev.e.loper
  • 35,446
  • 76
  • 161
  • 247
6
votes
1 answer

Weinre JS API onload/ready event

I'm using Weinre to debug an iPad App and was looking for a JS callback from Weinre that signals when Weinre has finished loading and e.g. it's safe to use its console object in my code. I looked through the docs and the target-script.js that hooks…
flu
  • 14,307
  • 8
  • 74
  • 71
4
votes
1 answer

weinre debug tool doesn't work in cordova chrome app(cca) for android

I'm trying to make android app out of chrome packaged app using cordova chrome app(cca). The problem is that weinre client doesn't see my app which running on android tab. The same chrome app works well with weinre on desktop computer. As an…
31415926
  • 3,811
  • 7
  • 47
  • 78
4
votes
4 answers

Weinre does not find any target

Sorry for the newbie question, but I spent the whole day trying to figure out why the target list remains empty. This is what I've done so far: Launched the Weinre host, bounded to my desktop ip adress (192.168.0.38) Checked it on Chrome : the host…
Yako
  • 3,405
  • 9
  • 41
  • 71
3
votes
3 answers

Is it possible with Weinre to set javascript breakpoints when debugging iOS webviews

I'm using weinre to debug a phonegap application. However it doesn't seem possible to step through the JS or set breakpoints. Is this at all possible?
bradgonesurfing
  • 30,949
  • 17
  • 114
  • 217
3
votes
1 answer

npm -g install weinre on windows azure remote server

Ive been trying to install weinre on Windows Azure server and after downloading node.js and typing in 'npm -g install weinre' I get the following error message in the cli. C:\>npm -g install weinre npm ERR! Windows_NT 6.3.9600 npm ERR! argv…
Josh.S
  • 127
  • 1
  • 10
3
votes
1 answer

How to debug phonegap windows phone 8.1

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. I found out that using weinre (from here) it's possible to debug app, but still haven't found how to connect it with…
Sascuash
  • 3,661
  • 10
  • 46
  • 65
3
votes
2 answers

phonegap weinre finds no targets

I try to enable weinre for debugging however the problem is that weinre finds no target. Here is what I do: installed weinre via nodejs command: npm install weinre -g connect my android device( Huawaei smartphone ) via USB cable and enable…
Phil LA
  • 163
  • 1
  • 2
  • 10
3
votes
1 answer

Can create connection to weinre and app brakes

Hy I am trying to configure weinre to debug phonegap apps on Android 4.0, 4.1, 4.2 and 4.3. From what I have read online I have to run the the weinre server on my local ip so I runed the following (xxx.xx.xx.xx will represent my computers ip…
aleczandru
  • 5,319
  • 15
  • 62
  • 112
1
2 3 4 5 6