Debug检测

Signed-off-by: Tongle Xu <xutongle@gmail.com>