使用import pdb; pdb.set_trace()似乎是一个好主意,但是nosetests阻止了我对pdb控制台的 ... 请务必将 -s 传递给nose,以便它不会捕获 stdout 。
確定! 回上一頁