From 5a2a11a13bc111ead164dd3a9ad1d9b55883760e Mon Sep 17 00:00:00 2001 From: barsikus007 <37113583+barsikus007@users.noreply.github.com> Date: Tue, 1 Apr 2025 04:41:04 +0300 Subject: [PATCH] add missing `autoReload` property to `debugpy` schema --- package.json | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/package.json b/package.json index f63a8c90745f..2070d5c34f5f 100644 --- a/package.json +++ b/package.json @@ -748,6 +748,43 @@ "configurationAttributes": { "attach": { "properties": { + "autoReload": { + "default": {}, + "description": "Configures automatic reload of code on edit.", + "properties": { + "enable": { + "default": false, + "description": "Automatically reload code on edit.", + "type": "boolean" + }, + "exclude": { + "default": [ + "**/.git/**", + "**/.metadata/**", + "**/__pycache__/**", + "**/node_modules/**", + "**/site-packages/**" + ], + "description": "Glob patterns of paths to exclude from auto reload.", + "items": { + "type": "string" + }, + "type": "array" + }, + "include": { + "default": [ + "**/*.py", + "**/*.pyw" + ], + "description": "Glob patterns of paths to include in auto reload.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, "connect": { "label": "Attach by connecting to debugpy over a socket.", "properties": {