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.
89 lines
3.0 KiB
89 lines
3.0 KiB
{
|
|
// 使用 IntelliSense 了解相关属性。
|
|
// 悬停以查看现有属性的描述。
|
|
// 欲了解更多信息,请访问: https://go.microsoft.com/fwlink/?linkid=830387
|
|
"version": "0.2.0",
|
|
"configurations": [
|
|
{
|
|
"type": "node",
|
|
"request": "launch",
|
|
"name": "启动 web",
|
|
"program": "${workspaceRoot}/web/server.js",
|
|
"env": {
|
|
"NODE_ENV": "development"
|
|
},
|
|
"args": [
|
|
"--port", "5700",
|
|
"-u","http://localhost:4700",
|
|
"--apiHrUrl", "http://localhost:4700",
|
|
// 测试
|
|
"--qnak", "5XrM4wEB9YU6RQwT64sPzzE6cYFKZgssdP5Kj3uu",
|
|
"--qnsk", "w6j2ixR_i-aelc6I7S3HotKIX-ukMzcKmDfH6-M5",
|
|
"--qnbkt", "pep-process-report",
|
|
"--qndmn", "https://pepsource.anxinyun.cn",
|
|
"--pmrs", "http://10.8.30.109:14000"
|
|
]
|
|
},
|
|
{
|
|
"type": "node",
|
|
"request": "launch",
|
|
"name": "启动 API",
|
|
"program": "${workspaceRoot}/api/server.js",
|
|
"env": {
|
|
"NODE_ENV": "development"
|
|
},
|
|
"args": [
|
|
"-p 4700",
|
|
// "-f http://localhost:4700",
|
|
//南昌研发开始
|
|
// "-g postgres://postgres:123456@10.8.16.184:5432/ReportCenter",
|
|
// "--redisHost localhost",
|
|
// "--redisPort 6378",
|
|
// "--apiEmisUrl http://localhost:4000",
|
|
//南昌研发结束
|
|
// 镇江研发开始
|
|
"-g postgres://FashionAdmin:123456@10.8.30.36:5432/data_center",
|
|
"--redisHost localhost",
|
|
"--redisPort 6379",
|
|
"--apiEmisUrl http://localhost:14000", //开发
|
|
// "--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",
|
|
// 似乎不能传空 先注释 * 2
|
|
// "--clickHouseUser ",
|
|
// "--clickHousePassword ",
|
|
"--clickHousePort 30123",
|
|
// 开发
|
|
// "--clickHouseUrl http://10.8.30.71",
|
|
// "--clickHousePepEmis pepca_dev",
|
|
// "--clickHouseCamworkflow camworkflow",
|
|
// "--clickHouseHr hr_dev",
|
|
// 测试
|
|
"--clickHouseUrl http://10.8.30.161",
|
|
"--clickHousePepEmis pepca8",
|
|
"--clickHouseHr hrm",
|
|
]
|
|
},
|
|
{
|
|
"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"
|
|
}
|
|
}
|
|
]
|
|
}
|