enhance -d
Merge pull request #82 from bolandrm/debug_enhancement

enhance debug mode (-d)