vscode 进行代码的调试

2018-05-29  本文已影响0人  陆遥远

配置参数修改program

{
    // Use IntelliSense to learn about possible attributes.
    // Hover to view descriptions of existing attributes.
    // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
    "version": "0.2.0",
    "configurations": [
        {
            "env": {
                "NODE_ENV": "test"
             },
            "type": "node",
            "request": "launch",
            "name": "Launch Program",
            "program": "${workspaceFolder}/server/server.js"
            
        }
    ]
}
上一篇 下一篇

猜你喜欢

热点阅读