Created
September 12, 2013 13:32
-
-
Save tabrindle/6537381 to your computer and use it in GitHub Desktop.
Homebrew/weinre for MacOSx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Weinre | |
Weinre is a debugger for web pages like Web Inspector, except it’s designed to work remotely, and in particular, to allow you debug web pages on a mobile device such as a phone. | |
This includes the capability to see live debug from devices or the iOS simulator. | |
This could be used to see live debug from devices in the field. | |
How to Install on MacOSX | |
Install Homebrew | |
ruby -e "$(curl -fsSkL raw.github.com/mxcl/homebrew/go)" | |
install node.js | |
brew install node | |
install npm | |
git clone http://github.com/isaacs/npm.git | |
cd npm | |
sudo make install | |
install weinre | |
sudo npm -g install weinre | |
run weinre in terminal. Defaults are localhost and Port 8080 | |
-boundHost to change IP | |
Add the following script into your html | |
<script src="http://localhost:8080/target/target-script-min.js#[UniqueIDOfAppUserOrDevice]"></script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment