add debug info for merge
Merge pull request #22 from lzhan/merge

add debug info for merge