import olms from 'ol-mapbox-style/dist/olms.js';改为
import olms from 'ol-mapbox-style/src/olms.js';进入调试模式