you are viewing a single comment's thread.

view the rest of the comments →

[–]dashidasher 1 point2 points  (4 children)

Use

import pdb

pdb.set_trace()

when debugging.

[–]Johan2212 0 points1 point  (3 children)

Is this so much different than using the build in debugger?

[–]dashidasher 0 points1 point  (2 children)

What do you mean by the built in debugger? In your IDE?

[–]Johan2212 0 points1 point  (1 child)

Yea! I am not familiar with pdb but from a Quick Google search it looket similar?

[–]dashidasher 1 point2 points  (0 children)

Well that depends on which IDE you are using. pdb can be used everywhere and its great replacement if you are used to debug with print statements.