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
1.8 KiB
52 lines
1.8 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 4900",
|
|
// 研发
|
|
// "-g postgres://postgres:123456@10.8.30.39:5432/PumpStation",
|
|
"-g postgres://FashionAdmin:123456@10.8.30.156:5432/PumpStation",
|
|
// 测试
|
|
// "--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",
|
|
// "--aliOssAccessKey LTAI5tNDfn7UhStYQcn3JBtw",
|
|
// "--aliOssSecretKey rnoXtDWQA1djJ5Xqcdn1OSEol0lVyv",
|
|
// "--aliOssBucket test-c371",
|
|
// "--aliOssRegion oss-cn-hangzhou",
|
|
"--apiAnxinyunUrl https://openapi.anxinyun.cn/api/v1",
|
|
"--axyProject 1a271f12-52f2-4d16-8dad-ec0c92d3e0cc/03bzzdh/123456",
|
|
]
|
|
},
|
|
{
|
|
"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"
|
|
}
|
|
}
|
|
]
|
|
}
|