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

add debug mode