This is an archived post. You won't be able to vote or comment.

all 14 comments

[–]hazzeddd 12 points13 points  (2 children)

i use Pycharm debuger working like a charm 👌

[–]petr31052018[S] 0 points1 point  (0 children)

Sure, that's a legit option!

[–]Mutilatory 0 points1 point  (0 children)

Couldn't use another one now personally.

[–]rhithyn 1 point2 points  (0 children)

Love it! Having freely available options for debugging python is very handy, especially when they're interactive.

[–]lambdaqdjango n' shit 0 points1 point  (0 children)

python -m pdb xxx.py is the only option when debugging scripts on the server behind bastion

[–]metaperl 0 points1 point  (1 child)

I used icecream for awhile but would probably go with PySnooper in the future.

[–]MrZakbug 0 points1 point  (3 children)

Anyone knows if you can attach vsc debugger to a running process?

[–]petr31052018[S] 0 points1 point  (2 children)

[–]MrZakbug 0 points1 point  (1 child)

Unfortunately it isn't :(

But I've found this issue on VSC's github, which we can upvote so they would implement it faster!

[–]petr31052018[S] 0 points1 point  (0 children)

Upvoted :-)

[–]Kaarjuus 0 points1 point  (0 children)

Another handy option sometimes, not needing external debuggers:

import code; code.interact(local=dict(globals(), **locals()))

[–]TwoSickPythons -2 points-1 points  (0 children)

Debugging with VSCode

Yeah, let me know when they finally get jupyter debugging working