From ae7a5443b0c0bb8b70ea142aab6fbf25fe4342b7 Mon Sep 17 00:00:00 2001 From: Don Jayamanne Date: Thu, 30 May 2019 14:18:08 -0700 Subject: [PATCH] Removed `--nothreading` flag from Django debug --- news/1 Enhancements/5116.md | 1 + .../extension/configuration/providers/djangoLaunch.ts | 3 +-- .../configuration/providers/djangoLaunch.unit.test.ts | 9 +++------ 3 files changed, 5 insertions(+), 8 deletions(-) create mode 100644 news/1 Enhancements/5116.md diff --git a/news/1 Enhancements/5116.md b/news/1 Enhancements/5116.md new file mode 100644 index 000000000000..423eb86a60ed --- /dev/null +++ b/news/1 Enhancements/5116.md @@ -0,0 +1 @@ +Removed `--nothreading` flag from the `Django` debug configuration. diff --git a/src/client/debugger/extension/configuration/providers/djangoLaunch.ts b/src/client/debugger/extension/configuration/providers/djangoLaunch.ts index 4df690aee723..f17650b53bbb 100644 --- a/src/client/debugger/extension/configuration/providers/djangoLaunch.ts +++ b/src/client/debugger/extension/configuration/providers/djangoLaunch.ts @@ -37,8 +37,7 @@ export class DjangoLaunchDebugConfigurationProvider implements IDebugConfigurati program: program || defaultProgram, args: [ 'runserver', - '--noreload', - '--nothreading' + '--noreload' ], django: true }; diff --git a/src/test/debugger/extension/configuration/providers/djangoLaunch.unit.test.ts b/src/test/debugger/extension/configuration/providers/djangoLaunch.unit.test.ts index 9d7a9c0e0310..9e22a057bcc1 100644 --- a/src/test/debugger/extension/configuration/providers/djangoLaunch.unit.test.ts +++ b/src/test/debugger/extension/configuration/providers/djangoLaunch.unit.test.ts @@ -137,8 +137,7 @@ suite('Debugging - Configuration Provider Django', () => { program: 'xyz.py', args: [ 'runserver', - '--noreload', - '--nothreading' + '--noreload' ], django: true }; @@ -161,8 +160,7 @@ suite('Debugging - Configuration Provider Django', () => { program: 'hello', args: [ 'runserver', - '--noreload', - '--nothreading' + '--noreload' ], django: true }; @@ -188,8 +186,7 @@ suite('Debugging - Configuration Provider Django', () => { program: defaultProgram, args: [ 'runserver', - '--noreload', - '--nothreading' + '--noreload' ], django: true };