镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
47 changes: 46 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -261,6 +261,29 @@
"description": "If true, show and debug only user-written code. If false, show and debug all code, including library calls.",
"type": "boolean"
},
"rules": {
"description": "Overrides whether code matching a path glob or module name is treated as user code. Each rule requires include and either path or module.",
"items": {
"additionalProperties": false,
"anyOf": [{ "required": ["path"] }, { "required": ["module"] }],
"properties": {
"include": {
"type": "boolean"
},
"module": {
"type": "string"
},
"path": {
"type": "string"
}
},
"required": [
"include"
],
"type": "object"
},
"type": "array"
},
"listen": {
"label": "Attach by listening for incoming socket connection from debugpy",
"properties": {
Expand Down Expand Up @@ -527,6 +550,29 @@
"description": "Debug only user-written code.",
"type": "boolean"
},
"rules": {
"description": "Overrides whether code matching a path glob or module name is treated as user code. Each rule requires include and either path or module.",
"items": {
"additionalProperties": false,
"anyOf": [{ "required": ["path"] }, { "required": ["module"] }],
"properties": {
"include": {
"type": "boolean"
},
"module": {
"type": "string"
},
"path": {
"type": "string"
}
},
"required": [
"include"
],
"type": "object"
},
"type": "array"
},
"logToFile": {
"default": false,
"description": "Enable logging of debugger events to a log file. This file can be found in the debugpy extension install folder.",
Expand Down Expand Up @@ -757,4 +803,3 @@
"vscode-languageclient": "^8.0.2"
}
}

Loading