在一个.vue文件中设置了debugger, 但是调试的时候却定位到同目录的其他文件。网上查了一些方案: 在vue.config.js 中设置 productionSourceMap为true, 无效在configureWebpack中配置 devtool 为"source-map", 可以