Skip to content

Instantly share code, notes, and snippets.

@ParsifalC
Forked from jokefaker/PonyDebugger Install
Last active August 29, 2015 14:19
Show Gist options
  • Save ParsifalC/e12125ec1360d4603dc3 to your computer and use it in GitHub Desktop.
Save ParsifalC/e12125ec1360d4603dc3 to your computer and use it in GitHub Desktop.
# 去掉了curl的-sk参数,-s为静默状态(不提示错误),-k为允许不适用ssl
curl https://cloud.github.com/downloads/square/PonyDebugger/bootstrap-ponyd.py | \
python - --ponyd-symlink=/usr/local/bin/ponyd ~/Library/PonyDebugger
# 报错 Could not find any downloads that satisfy the requirement pybonjour (from ponydebugger),运行下面的命令
# activate your virtualenv
source ~/Library/PonyDebugger/bin/activate
# update the ponyd source
sudo pip install -U -e git+https://github.com/square/PonyDebugger.git#egg=ponydebugger --allow-external pybonjour --allow-unverified pybonjour
# updates chrome dev tools source
ponyd update-devtools
# 添加link
sudo ln -s /Users/<YOUR USER NAME>/Library/PonyDebugger/bin/ponyd /usr/local/bin/ponyd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment