modify debug mode

Signed-off-by: lional <lional.king@gmail.com>