add ENABLE_DEBUG option and disable some extra output

Signed-off-by: xiehuc <xiehuc@gmail.com>