Skip to content

Instantly share code, notes, and snippets.

@jokefaker
Last active November 4, 2015 14:40
Show Gist options
  • Save jokefaker/e340471a7837fc60f719 to your computer and use it in GitHub Desktop.
Save jokefaker/e340471a7837fc60f719 to your computer and use it in GitHub Desktop.
PonyDebugger Install Commands
# 去掉了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