How to get the detail error when developing a plugin?

I created a new plugin with command npx @grafana/toolkit plugin:create bi-panel and it displays well. After I add some javascript library and build with ‘yarn watch’, then the grafana told me something wrong. But I didn’t got any error mesage in the server startup log even I open the level = debug in grafana.ini. How can I get the detail error message?