美文网首页
vscode调试node(npm命令)

vscode调试node(npm命令)

作者: 景阳冈大虫在此 | 来源:发表于2020-12-11 14:08 被阅读0次
    调试npm run start
    • 内容
    {
      "version": "0.2.0",
      "configurations": [
        {
          "type": "node",
          "request": "launch",
          "name": "启动程序",
          "cwd": "${workspaceRoot}",
          "runtimeExecutable": "npm",
          "runtimeArgs": ["run","start"],
          "autoAttachChildProcesses": true,
          "stopOnEntry": false
        }
      ]
    }
    
    • 放置于项目根路径


    相关文章

      网友评论

          本文标题:vscode调试node(npm命令)

          本文链接:https://www.haomeiwen.com/subject/fnejgktx.html