Added debug function
Merge branch 'master' of https://github.com/ragnastats/plugins