pokeyboa 发表于 2020-4-6 14:19:44

执行python脚本的debug模式怎么开启

python test.py
执行脚本的debug模式怎么开启,想要获取详细执行过程

类似 shell 的 sh -x test.sh的功能

suchocolate 发表于 2020-4-6 15:02:24

本帖最后由 suchocolate 于 2020-4-6 15:05 编辑

python -m trace --trace test.py
页: [1]
查看完整版本: 执行python脚本的debug模式怎么开启