Sunday, May 8, 2016

Debugger for Python

The simplest way to debug a python programm is to use the build in module pdb. It is simple to use:



import pdb
import mymodule
pdb.run('mymodule.test()')
Or: python3 -m pdb myscript.py

for more informations : https://docs.python.org/3/library/pdb.html

No comments:

Post a Comment