Skip to content

Commit 90a13ca

Browse files
committed
Clarify breakOnSystemExit default behavior in schema description
Describe the default as an ignore-list ({0, None}, plus 3 under Django/Flask) that breaks on any other code when uncaught-exception breaking is enabled, rather than the looser 'break on all non-zero exit codes'. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 24c2d34b-15f0-45d2-bd59-8ee042269d20
1 parent f8629dc commit 90a13ca

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@
187187
"type": "object"
188188
},
189189
"breakOnSystemExit": {
190-
"description": "Controls which SystemExit exit codes cause the debugger to break. Accepts an array of exit codes and/or inclusive ranges. Set to an empty array to never break on SystemExit. When omitted, the debugger uses its default behavior (break on all non-zero exit codes, ignoring successful exits).",
190+
"description": "Controls which SystemExit exit codes cause the debugger to break. Accepts an array of exit codes and/or inclusive ranges. Set to an empty array to never break on SystemExit. When omitted, the debugger's default applies: successful exits (SystemExit(0) and SystemExit(None), plus 3 under Django/Flask) are ignored, and any other code causes a break when uncaught-exception breaking is enabled.",
191191
"type": "array",
192192
"items": {
193193
"oneOf": [
@@ -437,7 +437,7 @@
437437
"type": "object"
438438
},
439439
"breakOnSystemExit": {
440-
"description": "Controls which SystemExit exit codes cause the debugger to break. Accepts an array of exit codes and/or inclusive ranges. Set to an empty array to never break on SystemExit. When omitted, the debugger uses its default behavior (break on all non-zero exit codes, ignoring successful exits).",
440+
"description": "Controls which SystemExit exit codes cause the debugger to break. Accepts an array of exit codes and/or inclusive ranges. Set to an empty array to never break on SystemExit. When omitted, the debugger's default applies: successful exits (SystemExit(0) and SystemExit(None), plus 3 under Django/Flask) are ignored, and any other code causes a break when uncaught-exception breaking is enabled.",
441441
"type": "array",
442442
"items": {
443443
"oneOf": [

0 commit comments

Comments
 (0)