From 7af1bce4124d5243b6967c6bce97e2ea0b4bbb4c Mon Sep 17 00:00:00 2001 From: bersbersbers <12128514+bersbersbers@users.noreply.github.com> Date: Thu, 29 Feb 2024 08:51:54 +0100 Subject: [PATCH 1/2] Update `launch.json` schema --- package.json | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 3a4cd382..01fa7620 100644 --- a/package.json +++ b/package.json @@ -318,6 +318,10 @@ "internalConsole" ] }, + "consoleTitle": { + "default": "Python Debug Console", + "description": "Display name of the 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).", @@ -426,7 +430,7 @@ }, "pyramid": { "default": false, - "description": "Whether debugging Pyramid applications", + "description": "Whether debugging Pyramid applications.", "type": "boolean" }, "python": { @@ -459,13 +463,17 @@ }, "subProcess": { "default": false, - "description": "Whether to enable Sub Process debugging", + "description": "Whether to enable Sub Process debugging.", "type": "boolean" }, "sudo": { "default": false, "description": "Running debug program under elevated permissions (on Unix).", "type": "boolean" + }, + "guiEventLoop": { + "description": "The GUI event loop that's going to run. Possible values: \"matplotlib\", \"wx\", \"qt\", \"none\", or a custom function that'll be imported and run.", + "type": "string" } } } From 999fa1f37d59214275761c6a594b17c2d5ec8178 Mon Sep 17 00:00:00 2001 From: bersbersbers <12128514+bersbersbers@users.noreply.github.com> Date: Fri, 8 Mar 2024 20:53:18 +0100 Subject: [PATCH 2/2] Add default value for `guiEventLoop` --- package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/package.json b/package.json index bc054d39..252c9725 100644 --- a/package.json +++ b/package.json @@ -472,6 +472,7 @@ "type": "boolean" }, "guiEventLoop": { + "default": "matplotlib", "description": "The GUI event loop that's going to run. Possible values: \"matplotlib\", \"wx\", \"qt\", \"none\", or a custom function that'll be imported and run.", "type": "string" }