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.
52 lines
2.0 KiB
52 lines
2.0 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 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/api",
|
|
"-a https://smartworksafety.anxinyun.cn",
|
|
"--yingshiKey 5d16a667e1c2423d9d0d634f781810b4",
|
|
"--yingshiSecret 0cc4e1ec4e6a53ea3dabeb09cd5f468b",
|
|
"--tf http://91mogo.com/onecity/v5",
|
|
"--axyApi https://openapi.anxinyun.cn/api/v1",
|
|
"--axyPumpProject 1a271f12-52f2-4d16-8dad-ec0c92d3e0cc/03bzzdh/123456", // 泵站
|
|
"--kubesphereUserName admin",
|
|
"--kubespherePassword Fashion123",
|
|
"--statistics https://statistics.anxinyun.cn/statistic"
|
|
]
|
|
},
|
|
{
|
|
"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"
|
|
}
|
|
}
|
|
]
|
|
}
|