Debugging a bash file run by launcher

Hi guys, happy new year to all. I’m a web developer trying to run some python in the Gameshell and I’d request some help if possible.

So I installed arcade as explained here

and everything works perfect but the sound. I uncomment the line where the sound is called, run the game and it fails silently. So my question is how would I know what is failing? Can I send the output to a log?

Thanks!