{ // Use IntelliSense to learn about possible attributes. // Hover to view descriptions of existing attributes. // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 "version": "0.2.0", "configurations": [ { "name": "server", "type": "python", "request": "launch", "stopOnEntry": false, "justMyCode": false, "pythonPath": "${config:python.pythonPath}", "program": "${workspaceRoot}/manage.py", "args": [ "runserver", "--noreload", "--insecure", "127.0.0.1:7000" ], "django": true, "cwd": "${workspaceFolder}" }, { "name": "client", "type": "chrome", "request": "launch", "url": "http://localhost:7000/", "disableNetworkCache":true, "trace": true, "showAsyncStacks": true, "pathMapping":{ "/static/engine/": "${workspaceFolder}/cvat/apps/engine/static/engine/", "/static/dashboard/": "${workspaceFolder}/cvat/apps/dashboard/static/dashboard/", } }, { "name": "RQ - default", "type": "python", "request": "launch", "stopOnEntry": false, "justMyCode": false, "pythonPath": "${config:python.pythonPath}", "program": "${workspaceRoot}/manage.py", "args": [ "rqworker", "default", "--worker-class", "cvat.simpleworker.SimpleWorker", ], "django": true, "cwd": "${workspaceFolder}", "env": {} }, { "name": "RQ - low", "type": "python", "request": "launch", "justMyCode": false, "stopOnEntry": false, "pythonPath": "${config:python.pythonPath}", "program": "${workspaceRoot}/manage.py", "args": [ "rqworker", "low", "--worker-class", "cvat.simpleworker.SimpleWorker", ], "django": true, "cwd": "${workspaceFolder}", "env": {} }, { "name": "git", "type": "python", "request": "launch", "justMyCode": false, "stopOnEntry": false, "pythonPath": "${config:python.pythonPath}", "program": "${workspaceRoot}/manage.py", "args": [ "update_git_states" ], "django": true, "cwd": "${workspaceFolder}", "env": {} }, { "name": "migrate", "type": "python", "request": "launch", "justMyCode": false, "stopOnEntry": false, "pythonPath": "${config:python.pythonPath}", "program": "${workspaceRoot}/manage.py", "args": [ "migrate" ], "django": true, "cwd": "${workspaceFolder}", "env": {} }, { "name": "tests", "type": "python", "request": "launch", "justMyCode": false, "stopOnEntry": false, "pythonPath": "${config:python.pythonPath}", "program": "${workspaceRoot}/manage.py", "args": [ "test", "--settings", "cvat.settings.testing", "cvat/apps/engine", ], "django": true, "cwd": "${workspaceFolder}", "env": {} }, ], "compounds": [ { "name": "debugging", "configurations": [ "client", "server", "RQ - default", "RQ - low", "git", ] } ] }