detect debugMode for test result
Merge pull request #39 from lzhan/updateyui

detect debugMode for test result