{ // 使用 IntelliSense 了解相关属性。 // 悬停以查看现有属性的描述。 // 欲了解更多信息,请访问: https://go.microsoft.com/fwlink/?linkid=830387 "version": "0.2.0", "configurations": [ { "type": "node", "request": "launch", "name": "启动 API", "program": "${workspaceRoot}/server.js", "env": { "NODE_ENV": "development" }, "args": [ "-p 4400", // 研发 "-g postgres://FashionAdmin:123456@10.8.30.39:5432/GovernmentDataResourceCenter", // "-g postgres://FashionAdmin:123456@10.8.30.156:5432/gdrcenter", "-b http://10.8.30.161:31420", "-s http://10.8.30.161:32258", "-d postgres/example/10.8.30.160/30432", "-w https://smartwater.anxinyun.cn", "-a https://smartworksafety.anxinyun.cn", ] }, { "type": "node", "request": "launch", "name": "run mocha", "program": "${workspaceRoot}/node_modules/mocha/bin/_mocha", "stopOnEntry": false, "args": [ "app/test/*.test.js", "--no-timeouts" ], "cwd": "${workspaceRoot}", "runtimeExecutable": null, "env": { "NODE_ENV": "development" } } ] }