basedir=$(dirname "$(echo "$0" | sed -e 's,\,/,g')")
当执行如下命令报题目所示的谬误,是因为windows
无奈执行shell
命令导致(mac
反对该命令,所以问题只会呈现在windows
上)。
{ "debugger": "node ./node_modules/.bin/webpack --config webpack.config.js"}
咱们跳过shell
命令,间接执行指标文件即可。
{ "debugger": "node ./node_modules/webpack/bin/webpack --config webpack.config.js"}
材料:
http://www.jerrychane.com/technique-sharing/2859.html