Add debug option to music:scan command

* add --debug to reveal a memory usage statistic while scanning