Kodi Community Forum

Full Version: Is there anyway to get an Interactive Debugger in a script?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I'm trying to figure out how I can use something like pdb inside of a Kodi script to aid in debugging. I attempted to do it myself but wasn't really able to figure out how to import pdb correctly plus I know I need to set it up so I can remotely connect to it.
See:
HOW-TO:Debug_python_scripts (wiki)

I find the best one to be the remote debugger in PyCharm Pro. It is a paid application, but free for Open Source if you apply for a license.

For PyCharm, I call start debugger like this:
https://github.com/KenV99/script.service...ebugger.py