当我使用devtool:'inline-source-map'
时,我正在使用webpack4。
我可以在浏览器控制台中看到源映射错误。
bootstrap:2 Uncaught ReferenceError: consol is not defined
at t.default (bootstrap:2)
at Object.<anonymous> (bootstrap:2)
at r (bootstrap:2)
at bootstrap:2
at bootstrap:2
但是在vscode控制台中,它仍然会在&#39; bundle.js&#39;
中显示错误ReferenceError: consol is not defined
app.bundle.js:1
at t.default (file:///C:/Users/quan.sun/Desktop/js/node/InFlex/dist/app.bundle.js?9780c8ff772f1fd83b98:1:580)
at Object.<anonymous> (file:///C:/Users/quan.sun/Desktop/js/node/InFlex/dist/app.bundle.js?9780c8ff772f1fd83b98:1:13138)
at r (file:///C:/Users/quan.sun/Desktop/js/node/InFlex/dist/app.bundle.js?9780c8ff772f1fd83b98:1:110)
at file:///C:/Users/quan.sun/Desktop/js/node/InFlex/dist/app.bundle.js?9780c8ff772f1fd83b98:1:517
at file:///C:/Users/quan.sun/Desktop/js/node/InFlex/dist/app.bundle.js?9780c8ff772f1fd83b98:1:526
有谁知道如何配置vscode来调试源地图?