Debugging Volumio2 Backend

Debugging Volumio 2 with Webstorm from Shaggy Dog on Vimeo.

the same approach is possible for other editors like Visual Studio Code and Eclipse for nodejs

Debugging with system journal

You can see all logs, generated both by the system and Volumio with

sudo journalctl -f

This includes outputs to the console too:

console.log('my output')

So, ideally, you'll want to:

  • Edit the files from your editor of choice
  • Upload changes to the Volumio device
  • Restart NODE Services
  • See the effects via an SSH connection, with sudo journalctl -f