From 13fada759758a43cf068cf8492fba1df7a0ab756 Mon Sep 17 00:00:00 2001 From: Nikita Manovich Date: Thu, 31 Jan 2019 11:21:33 +0300 Subject: [PATCH] Improved launch file for vscode. Removed --nothreading due to https://code.google.com/p/chromium-os/issues/detail?id=13043 See https://code.visualstudio.com/docs/python/tutorial-django for more details. --- .vscode/launch.json | 34 ++++++++-------------------------- 1 file changed, 8 insertions(+), 26 deletions(-) diff --git a/.vscode/launch.json b/.vscode/launch.json index 745392455fa3..90666360da1f 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -15,16 +15,11 @@ "args": [ "runserver", "--noreload", - "--nothreading", "--insecure", "127.0.0.1:7000" ], - "debugOptions": [ - "RedirectOutput", - "DjangoDebugging" - ], - "cwd": "${workspaceFolder}", - "envFile": "${workspaceFolder}/.env", + "django": true, + "cwd": "${workspaceFolder}" }, { "name": "CVAT Client", @@ -53,14 +48,9 @@ "--worker-class", "cvat.simpleworker.SimpleWorker", ], - "debugOptions": [ - "RedirectOutput", - "DjangoDebugging" - ], + "django": true, "cwd": "${workspaceFolder}", - "env": {}, - "envFile": "${workspaceFolder}/.env", - + "env": {} }, { "name": "CVAT RQ - low", @@ -76,13 +66,9 @@ "--worker-class", "cvat.simpleworker.SimpleWorker", ], - "debugOptions": [ - "RedirectOutput", - "DjangoDebugging" - ], + "django": true, "cwd": "${workspaceFolder}", - "env": {}, - "envFile": "${workspaceFolder}/.env", + "env": {} }, { "name": "CVAT git", @@ -95,13 +81,9 @@ "args": [ "update_git_states" ], - "debugOptions": [ - "RedirectOutput", - "DjangoDebugging" - ], + "django": true, "cwd": "${workspaceFolder}", - "env": {}, - "envFile": "${workspaceFolder}/.env", + "env": {} }, ], "compounds": [