{ // 使用 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 4900", // 研发 // "-g postgres://FashionAdmin:123456@10.8.30.39:5432/Inspection", "-g postgres://FashionAdmin:123456@10.8.30.39:5432/Inspection_20231016", // "-g postgres://postgres:123456@10.8.16.184:5432/XunJian", // "-g postgres://FashionAdmin:123456@10.8.30.156:5432/inspection", // 测试 // "--apiEmisUrl http://10.8.30.161:1111", // "--qnak XuDgkao6cL0HidoMAPnA5OB10Mc_Ew08mpIfRJK5", // "--qnsk yewcieZLzKZuDfig0wLZ9if9jKp2P_1jd3CMJPSa", // "--qnbkt dev-hr", // "--qndmn http://resources.anxinyun.cn", // "--qndmn http://rjkwed13l.hn-bkt.clouddn.com", "--qnak 5XrM4wEB9YU6RQwT64sPzzE6cYFKZgssdP5Kj3uu", "--qnsk w6j2ixR_i-aelc6I7S3HotKIX-ukMzcKmDfH6-M5", "--qnbkt anxinyun-test", "--qndmn http://test.resources.anxinyun.cn", "--wxDomain https://api.weixin.qq.com", "--wxAppId wxdd82ae635b22ccdb", "--wxAppSecret 08e3d4ea9484cd7837d171e7af7c7db8", "--apiAnxinyunUrl https://console.anxinyun.cn/_api", "--axyProject anxinyun/liyus/123456a_", "--iotaProxy https://iotaproxy.anxinyun.cn", //商用 "--apiCrawUrl http://218.3.126.49:30555/v1", //设备升级接口 //商用clickHouse "--clickHouseUrl http://218.3.126.49", "--clickHousePort 18123", "--clickHouseUser default", "--clickHousePassword Wbo@hi1I", "--clickHouseDataAlarm alarm", "--clickHouseIot iota", ] }, { "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" } } ] }