-
-
Save ParsifalC/e12125ec1360d4603dc3 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
# 去掉了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