linux中测试py脚本使用debug模式

python -mtrace --trace ping_host.py 
原文地址:https://www.cnblogs.com/mmyy-blog/p/9566223.html