How to debug Python code? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How to debug Python code?

I was looking for a tool to debug Python code. I couldn’t find one that’s easy enough. Either debugging functionality is „hidden“ (means: not existent) or it’s so complicated to go through the code step by step. You’re my last hope before I feel forced to use Eclipse.

16th Aug 2018, 8:08 PM
Marc Maurer
Marc Maurer - avatar
3 Answers
0
Assuming you are using Windows, Geany is a very simple IDE to use. Otherwise CMD is also very useful if you are familiar with it.
17th Aug 2018, 1:51 PM
avg555
0
Your assumption is 50% correct. I use both, Windows and Mac. But for private, I prefer Mac. And does Geany (or any IDE) include the capabillity to debug? That‘s what I thought until yesterday. But unfortunately, it doesn‘t look like. Thank you for your answer, I will have a look at it.
17th Aug 2018, 2:08 PM
Marc Maurer
Marc Maurer - avatar
0
There are certain IDEs that have debugging capabilities as well as libraries. You can have a look at the wiki: https://wiki.python.org/moin/PythonDebuggingTools#IDEs_with_Debug_Capabilities
17th Aug 2018, 2:40 PM
avg555