{
    // 使用 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.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",
            ]
        },
        {
            "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"
            }
        }
    ]
}