Skip to content

Commit fca82ba

Browse files
authored
Removed --nothreading flag from Django debug config (microsoft#5854)
1 parent bec0a59 commit fca82ba

3 files changed

Lines changed: 5 additions & 8 deletions

File tree

news/1 Enhancements/5116.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Removed `--nothreading` flag from the `Django` debug configuration.

src/client/debugger/extension/configuration/providers/djangoLaunch.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,7 @@ export class DjangoLaunchDebugConfigurationProvider implements IDebugConfigurati
3737
program: program || defaultProgram,
3838
args: [
3939
'runserver',
40-
'--noreload',
41-
'--nothreading'
40+
'--noreload'
4241
],
4342
django: true
4443
};

src/test/debugger/extension/configuration/providers/djangoLaunch.unit.test.ts

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -137,8 +137,7 @@ suite('Debugging - Configuration Provider Django', () => {
137137
program: 'xyz.py',
138138
args: [
139139
'runserver',
140-
'--noreload',
141-
'--nothreading'
140+
'--noreload'
142141
],
143142
django: true
144143
};
@@ -161,8 +160,7 @@ suite('Debugging - Configuration Provider Django', () => {
161160
program: 'hello',
162161
args: [
163162
'runserver',
164-
'--noreload',
165-
'--nothreading'
163+
'--noreload'
166164
],
167165
django: true
168166
};
@@ -188,8 +186,7 @@ suite('Debugging - Configuration Provider Django', () => {
188186
program: defaultProgram,
189187
args: [
190188
'runserver',
191-
'--noreload',
192-
'--nothreading'
189+
'--noreload'
193190
],
194191
django: true
195192
};

0 commit comments

Comments
 (0)