add debug mode
Merge branch 'master' of https://github.com/fmy/kinokore