add debug model

whether print logs