Closed daltskin closed 2 years ago
Adding support for vs code devcontainers.
For debugging of python:
Just add your own launch.json file to pass in debug arguments eg:
{ "version": "0.2.0", "configurations": [ { "name": "unifi-cam-proxy", "type": "python", "request": "launch", "module": "main", "cwd": "${workspaceFolder}/unifi", "pythonArgs": [ "-X dev", ], "args": [ "--host={your-host-ip}", "--token={your-token}", "--mac={your-mac}", "--cert=../client.pem", "rtsp", "-s=rtsp://{your-rtsp}", ], "console": "integratedTerminal", "subProcess": true, "env": { "PYTHONASYNCIODEBUG": "1" } } ] }
Adding support for vs code devcontainers.
For debugging of python:
Just add your own launch.json file to pass in debug arguments eg: