node.js 调试 eggs launch.json配置信息

{
    // 使用 IntelliSense 了解相关属性。 
    // 悬停以查看现有属性的描述。
    // 欲了解更多信息,请访问: https://go.microsoft.com/fwlink/?linkid=830387
    "version": "0.2.0",
    "configurations": [
        {
            "name": "调试",
            "type": "node",
            "request": "launch",
            "cwd": "${workspaceRoot}",//这里是文件位置
            "runtimeExecutable": "npm",
            "windows": { "runtimeExecutable": "npm.cmd" },
            "runtimeArgs": [ "run", "debug" ],
            "console": "integratedTerminal",
            "protocol": "auto",
            "restart": true,
            "port": 9999
        }
    ]
}

  

猜你喜欢

转载自www.cnblogs.com/maomingchao/p/9827641.html