'error' : 'off', 'no-debugger': process.env.NODE_ENV === 'production' ?
"no-tabs":"off", "no-unused-vars":"off", "no-console":"off", "no-irregular-whitespace":"off", "no-debugger
'warn' : 'off', 'no-debugger': process.env.NODE_ENV === 'production' ?
new NodePolyfillPlugin() ], }, }) package.json中配置,项目中开启debugger和console "rules": { "no-debugger
二、.eslintrc.js文件rules配置 module.exports = { rules: { "no-console": "off", "no-debugger": "off
allow async-await 'generator-star-spacing': 'off', // allow debugger during development 'no-debugger
VariableDeclarator: 1 } ], // 可以直接只用 new Vue() "no-new": 0, // 线上禁用debugger "no-debugger
allow async-await 'generator-star-spacing': 0, // allow debugger during development 'no-debugger
"FLASK_APP": "${workspaceFolder}/app.py" }, "args": [ "run", "--no-debugger...specifies "stopOnEntry": false, "env": {"FLASK_APP": "${workspaceFolder}/app.py"} and "args": ["run", "--no-debugger
解决方法 通过注释 /*eslint-disabled*/ 禁掉当前文件的no-debugger 愉快的进行debugger 最后把 /*eslint-disabled*/ 和debugger删掉就可以了
'error' : 'warn', 'no-debugger': process.env.NODE_ENV === 'production' ?
"FLASK_APP": "${workspaceRoot}/app.py" }, "args": [ "run", "--no-debugger
rules: { // allow async-await "generator-star-spacing": "off", // allow debugger during development "no-debugger
}/quickstart/app.py" }, "args": [ "run", "--no-debugger
领取专属 10元无门槛券
手把手带您无忧上云