|
|
|
|
|
by kelvin0
4190 days ago
|
|
I have been using python for some years now (although I'm no Guru..) and have almost always been able to debug using PDB or a python IDE.
I'm not sure how this helps debugging?
Is it debugging through some type of logging?
I haven't checked out the source code yet, and the site is fairly brief on actual use-cases.
Thanks for any feedback. |
|
I'll be adding more documentation soon, but perhaps this is a more informative use case: Too often in my Python programs, I'll do something like, print("x is: " + str(x)). That's already too much to keep typing, but sometimes I'll want to know the type, or maybe it's a dictionary and printing without separators makes them blend together (say, in a for loop). In that case, I'll do: print("---------\nx is: " + str(x) + "\n")
The library allows this to be simplified to "ps.d(x)". It's rather opinionated towards my own workflow and what I was too lazy to keep doing. Perhaps I'll try pdb one day and find my library useless.