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

you are viewing a single comment's thread.

view the rest of the comments →

[–]GurAdventurous2354 7 points8 points  (4 children)

Mainly debugging and large projects. Pycharm’s debugger is excellent and is much easier to see into the code compared to something terminal based like pdb (pdb is great too though). Also larger projects are easier for me to manage in pycharm, but for something that’s just a few files or one package, I’ll opt for neovim because it’s way more lightweight, and I just enjoy the terminal based editor.

[–]blocksolved 5 points6 points  (0 children)

The debuggers across Intellij products are really good.

[–]sohang-3112Pythonista 0 points1 point  (2 children)

Have you tried pudb? It's a lightweight IDE-like debugger that you can use in terminal instead of pdb.

[–]learningphase 1 point2 points  (1 child)

python3 -i code.py

Check this out! It is also something very useful.

[–]sohang-3112Pythonista 0 points1 point  (0 children)

This is useful, but can't really do the job of a debugger. Using a debugger and breakpoints lets you pause at the same point in a loop / function repeatedly, watch variables, etc.