fixing flag typo, -debug instead of correct  --debug