Debug and/or test case a plugin

Hi,

Is there a doc explaining how to debug a plugin like also a test case strategy that we could use to check if a plugin work (e.g. select a youtube video and next launch it) ?

Cheers

Charles

Hi,

I don’t think there’s a video on that. Also there’s no real consensus on logging. So debugging is pretty much trial and error (and either understanding the console and/or adding logging).

I typically add logging and use “sudo journalctl -f” to follow the journal while troubleshooting. I’m not too familiar with NodeJS, but presumably there’s an easy way with an IDE to set breakpoints etc :wink:

How can I start volumio locally without the need to use a virtualbox vm ?