Home

12: Debugging In Python

pdb is a built in module in Python that helps us with debugging.

import pdb def add(a, b): pdb.set_trace() return a + b add(4, 'str')

Repository

https://github.com/okeeffed/developer-notes-nextjs/content/python/Learn-To-Code-With-Python-Course/12-Debugging-In-Python

Sections


Related