newb question: debug messages in terminal?
#1
Hi, I'd like to print messages from my python script in the terminal window from which I opened xbmc. For debugging purposes.

I read you can just do that by using print(). But I don't see messages in the terminal.

My script operates from one threading.Thread. Does that make debug messages unavailable or is there another way?
Reply
#2
I hope this help:

You can use something like xbmc.log('MYSCRIPT: my message'), and, in the terminal, the command "tail -f <path>/xbmc.log | grep MYSCRIPT" will show your log messages.

If you have windows, there is "tail" and "grep" commands available too.
Reply
#3
Thanks!
I use linux, will work fine.
Reply

Logout Mark Read Team Forum Stats Members Help
newb question: debug messages in terminal?0