使用Intellij IDEA的调试工具到webpack,
OS:MAC
npm脚本:
"scripts": {
"dev": " webpack-dev-server --inline --hot --display-error-details --content-base --config mvvm/build/webpack.dev.conf.js",
}
它提示:
To debug "build-distributor" script, make sure $NODE_DEBUG_OPTION string is specified as the first argument for node command you'd like to debug.
For example:
{ "start": "node $NODE_DEBUG_OPTION server.js" }
问题:
在哪里添加此代码($ NODE_DEBUG_OPTION)?