You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
87 lines
3.1 KiB
87 lines
3.1 KiB
{
|
|
// 使用 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 4600",
|
|
"-f http://localhost:4600",
|
|
// 研发
|
|
// "-g postgres://postgres:123@10.8.30.32:5432/orational_service",
|
|
// 测试
|
|
"-g postgres://FashionAdmin:123456@10.8.30.156:5432/POMS",
|
|
"-k node35:6667,node36:6667,node37:6667",
|
|
"--iotaProxy http://10.8.30.157:17007",
|
|
"--redisHost 10.8.30.112",
|
|
"--redisPort 6379",
|
|
"--axyApiUrl http://127.0.0.1:4100",
|
|
// "--apiEmisUrl http://10.8.30.112:14000",
|
|
// 测试
|
|
"--apiEmisUrl http://10.8.30.161:1111",
|
|
"--apiVcmpUrl http://localhost:4000",
|
|
"--apiIotAuth http://localhost:4200",
|
|
"--godUrl https://restapi.amap.com/v3",
|
|
"--godKey 21c2d970e1646bb9a795900dd00093ce",
|
|
"--mqttVideoServer mqtt://10.8.30.71:30883",
|
|
"--qnak XuDgkao6cL0HidoMAPnA5OB10Mc_Ew08mpIfRJK5",
|
|
"--qnsk yewcieZLzKZuDfig0wLZ9if9jKp2P_1jd3CMJPSa",
|
|
"--qnbkt dev-operational-service",
|
|
// "--qndmn http://resources.anxinyun.cn",
|
|
"--qndmn http://rhvqdivo5.hn-bkt.clouddn.com",
|
|
// click 开发
|
|
// "--clickHouseUrl http://10.8.30.71",
|
|
// click 测试
|
|
"--clickHouseUrl http://10.8.30.161",
|
|
// "--clickHouseUrl https://clickhouse01.anxinyun.cn/play",
|
|
"--clickHousePort 30123",
|
|
|
|
// 似乎不能传空 先注释 * 2
|
|
// "--clickHouseUser ",
|
|
// "--clickHousePassword ",
|
|
|
|
// 研发
|
|
// "--clickHouseAnxincloud anxinyun",
|
|
// "--clickHousePepEmis pepca",
|
|
// "--clickHouseProjectManage peppm",
|
|
// "--clickHouseVcmp video_accrss1",
|
|
// "--clickHouseDataAlarm default",
|
|
|
|
// 测试
|
|
"--clickHouseAnxincloud Anxinyun13",
|
|
"--clickHousePepEmis pepca8",
|
|
"--clickHouseProjectManage peppm8",
|
|
"--clickHouseVcmp video_access_dev",
|
|
"--clickHouseDataAlarm default",
|
|
|
|
"--confirmAlarmAnxinUserId 1",
|
|
"--vcmpAppId 5048b08d-c449-4d7f-b1ec-f741012aefe8",
|
|
"--vcmpAppSecret 5ba8c0ab-9fbd-4f07-9817-c48017c3cbad",
|
|
]
|
|
},
|
|
{
|
|
"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"
|
|
}
|
|
}
|
|
]
|
|
}
|