IDE

pycharm可以通过breakpoint和step调试.


debug

bdb

pdb

hotshot

timeit

trace

cProfile

profile