The Python Oracle

Python - start interactive debugger when exception would be otherwise thrown

This video explains
Python - start interactive debugger when exception would be otherwise thrown

--

Become part of the top 3% of the developers by applying to Toptal
https://topt.al/25cXVn

--

Music by Eric Matyas
https://www.soundimage.org
Track title: Puzzle Game 5

--

Chapters
00:00 Question
01:18 Accepted answer (Score 18)
02:24 Answer 2 (Score 10)
02:40 Answer 3 (Score 2)
03:10 Answer 4 (Score 1)
03:29 Thank you

--

Full question
https://stackoverflow.com/questions/1317...

Accepted answer links:
[this recipe]: https://code.activestate.com/recipes/652.../
[sitecustomize.py]: https://docs.python.org/3/library/site.h...

Answer 3 links:
[a package]: https://pypi.org/project/mort/

Answer 4 links:
[https://docs.python.org/2/library/pdb.ht...]: https://docs.python.org/2/library/pdb.ht...
[https://docs.python.org/3/library/traceb...]: https://docs.python.org/3/library/traceb...

--

Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...

--

Tags
#python #debugging #pdb

#avk47