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 };