{ // 使用 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 4000", "-f http://localhost:4000", "-g postgres://postgres:123@10.8.30.32:5432/video_access", "--redisHost 10.8.30.112", "--redisPort 6379", "--axyApiUrl http://127.0.0.1:4100", "--iotAuthApi http://127.0.0.1:4200", "--godUrl https://restapi.amap.com/v3", "--godKey 21c2d970e1646bb9a795900dd00093ce", "--mqttVideoServer mqtt://10.8.30.71:30883", "--iotVideoServerUrl http://221.230.55.27:8081", // "--iotVideoServerUrl http://10.8.30.59:8080", "--cameraPlayWsHost ws://221.230.55.27:8081", "--cameraPlayHttpFlvHost http://221.230.55.27:2020", "--cameraPlayHlsHost http://221.230.55.27:8081", "--cameraPlayRtmpHost rtmp://221.230.55.27:1935", "--cameraPlayRtspHost rtsp://221.230.55.27:554" ] }, { "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" } } ] }