From 0eb17063a63de03211d4e99b4f6d80c7b7c77560 Mon Sep 17 00:00:00 2001 From: Trysten Date: Wed, 1 Nov 2023 20:22:50 -0500 Subject: [PATCH 1/2] add consoleTitle to launch.json properties schema consoleTitle is effectively an undocumented feature. pydebug accepts the config key, but vscode will report a problem because it is missing from the schema. see [debugpy issue](https://github.com/microsoft/debugpy/issues/1178) and [#13040](https://github.com/microsoft/vscode-python/issues/13040) I used the phrase "console or terminal" because I noticed the name was represented on both integratedTerminal and internalConsole. I didn't test externalTerminal. --- package.json | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/package.json b/package.json index 109de5d87273..24f2143484ec 100644 --- a/package.json +++ b/package.json @@ -979,6 +979,10 @@ "internalConsole" ] }, + "consoleTitle": { + "default": "Python Debug Console", + "description": "Name for debug console or terminal" + }, "cwd": { "default": "${workspaceFolder}", "description": "Absolute path to the working directory of the program being debugged. Default is the root directory of the file (leave empty).", From f9b2a861693906d5c8455b8a0d2cd0ad9c4de346 Mon Sep 17 00:00:00 2001 From: Trysten Date: Sat, 4 Nov 2023 13:04:21 -0500 Subject: [PATCH 2/2] Update package.json ty @luabud Co-authored-by: Luciana Abud <45497113+luabud@users.noreply.github.com> --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 24f2143484ec..b0a184c1c4ed 100644 --- a/package.json +++ b/package.json @@ -981,7 +981,7 @@ }, "consoleTitle": { "default": "Python Debug Console", - "description": "Name for debug console or terminal" + "description": "Display name of the debug console or terminal" }, "cwd": { "default": "${workspaceFolder}",