File tree 3 files changed +9
-4
lines changed
3 files changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ Bug-fixes within the same version aren't needed
10
10
* add folder status bar support for multi-root projects - connectdotz
11
11
* paying down some tech debt, see PR#447 for detail.
12
12
13
+ * Add disableOptimisticBPs option to debug configuration. Fixes #400 - blikblum
13
14
14
15
* Adds "Jest: Restart Runner" command - vdh
15
16
Original file line number Diff line number Diff line change 185
185
"args" : [" --runInBand" ],
186
186
"cwd" : " ^\"\\ ${workspaceFolder}\" " ,
187
187
"console" : " integratedTerminal" ,
188
- "internalConsoleOptions" : " neverOpen"
188
+ "internalConsoleOptions" : " neverOpen" ,
189
+ "disableOptimisticBPs" : true
189
190
}
190
191
},
191
192
{
200
201
"cwd" : " ^\"\\ ${workspaceFolder}\" " ,
201
202
"console" : " integratedTerminal" ,
202
203
"protocol" : " inspector" ,
203
- "internalConsoleOptions" : " neverOpen"
204
+ "internalConsoleOptions" : " neverOpen" ,
205
+ "disableOptimisticBPs" : true
204
206
}
205
207
},
206
208
{
215
217
"cwd" : " ^\"\\ ${workspaceFolder}\" " ,
216
218
"console" : " integratedTerminal" ,
217
219
"protocol" : " inspector" ,
218
- "internalConsoleOptions" : " neverOpen"
220
+ "internalConsoleOptions" : " neverOpen" ,
221
+ "disableOptimisticBPs" : true
219
222
}
220
223
}
221
224
]
Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ export class DebugConfigurationProvider implements vscode.DebugConfigurationProv
50
50
// https://github.com/Microsoft/vscode-recipes/tree/master/debugging-jest-tests#configure-launchjson-file-for-your-test-framework
51
51
52
52
// create-react-app config according to:
53
- // https://github.com/facebook/ create-react-app/blob/master/packages/react-scripts/template/README.md #debugging-tests-in-visual-studio-code
53
+ // https://facebook. github.io/ create-react-app/docs/debugging-tests #debugging-tests-in-visual-studio-code
54
54
55
55
// tslint:disable no-invalid-template-strings
56
56
const debugConfiguration : vscode . DebugConfiguration = {
@@ -61,6 +61,7 @@ export class DebugConfigurationProvider implements vscode.DebugConfigurationProv
61
61
cwd : '${workspaceFolder}' ,
62
62
console : 'integratedTerminal' ,
63
63
internalConsoleOptions : 'neverOpen' ,
64
+ disableOptimisticBPs : true ,
64
65
}
65
66
66
67
const testCommand = folder && getTestCommand ( folder . uri . fsPath )
You can’t perform that action at this time.
0 commit comments