add debug feature
Merge pull request #3 from wallety/add_debug_feature

add debug feature