add debug mode
Merge pull request #3 from dmitriiabramov/feature/add-debug-mode

add debug mode