Fixed #632: Работа в prod и debug режиме
Merge pull request #56 from yupe/master

UPD: merge with yupe/master