Posts: 1,109
Joined: Feb 2011
Reputation:
39
I'm also using the plain web-pdb module for debugging my (non-Kodi) raspberry pi scripts. It's been incredibly helpful.
I have posted a link to it on the raspberry pi forum.
Posts: 1,660
Joined: Jun 2011
Reputation:
119
2 m.lombardo
That is very nice! Thank you very much. I thought of making a video myself but never got to it because of various personal stuff. With your permission, I'll add the link to your video to the 1-st post and to the Readme on GitHub.
I have one question, though, because I've never worked with a Mac computer and do not know how things are done there. Do you really need to install Python before installing Kodi on Mac? Usually, Kodi is shipped with its own CPython runtime, except for Linux platforms where indeed the system Python is used.
Posts: 1,660
Joined: Jun 2011
Reputation:
119
2 xtract47
The most obvious reason is stated in the error message: something probably is holding the port used by Web-PDB (5555 by default). However, from the traceback I see that you do not run the debugger on Android as you say, but in Jenkins CI. I'm not familiar with Jenkins and cannot tell how Web-PDB works in such environment. I only tested it in real Kodi 16 and 17 on Windows and LibreELEC, not in Android emulators. I don't remember if I've tested Web-PDB on my Android tablet, but the code does not have anything platform-specific and should work with any CPython 2.6-2.7 runtime.
Posts: 1,660
Joined: Jun 2011
Reputation:
119
I made a video tutorial for script-module-web-pdb debugger and added it to the 1st post of this topic. Your feedback is welcomed but please take into account that it is my very first attempt to make a tutorial video.