Do I build "QtCreator plugin" project release only?

Because I found that I create a new "QtCreator Plugin" project and built it debug failed, but built it release successfully.