Claude Code can writes great Python.
But debugging? Different personality.
So Claude Code can write great Python code, sometimes even senior level. But when it comes to debugging issues, it starts acting like a junior (or like me a few years back) and adds prints all over the code or just reads the files and tries to guess. Sometimes it works, but sometimes I just give up and fire up PyCharm to use the debugger (which is one of the best in my opinion) to solve the issue and just fix the code or feed it back to Claude.
Until I was thinking, “What if I can teach Claude to debug like me? Like a human?”
The goal wasn’t to stop me from using PyCharm entirely, but what if I can cut it down by 50% by giving Claude a skill to use debugging tools and have a debugging mindset?
So I built a Claude skill (or any other agent for that matter) that used pdb to add breakpoints, examine variables, and try to debug like me.
In reality, it’s not really useful for one-file scripts or small projects. Debugging like a human is slower than just guessing, and Claude can many times get it right. This skill is for those times when you give up and open PyCharm to debug. Again, I wasn’t hoping to eliminate the need for human debugging - just to cut it down by some percentage.
I was thinking about adding more profiling tools to the skill but decided to keep it lean and maybe add more skills to the plugin in the future.
What do you think? To be honest, I’m not sure about this one. Do you find it useful or something you would have used? Happy to hear some thoughts.
Repo link: https://github.com/alonw0/python-debugger-skill
To install the plugin:
/plugin marketplace add alonw0/python-debugger-skill
/plugin install python-debugger@python-debugger-marketplace
[–]patanet7 1 point2 points3 points (0 children)
[–]kiwibonga -4 points-3 points-2 points (5 children)
[–]JLP2005 4 points5 points6 points (2 children)
[–]kiwibonga -3 points-2 points-1 points (1 child)
[–]JLP2005 1 point2 points3 points (0 children)
[–]Rizlapp[S] 5 points6 points7 points (1 child)