add debug as dependency and support more know features
remove debug as dependency
Merge pull request #1 from chris-rock/master

add debug as dependency and support more know features