Skip to content

Commit

Permalink
Add consoleTitle to launch.json properties schema (#22406)
Browse files Browse the repository at this point in the history
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 [this debugpy
issue](microsoft/debugpy#1178) and
[#13040](#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.

---------

Co-authored-by: Luciana Abud <45497113+luabud@users.noreply.github.com>
  • Loading branch information
trysten and luabud authored Nov 8, 2023
1 parent 2a976e3 commit f98caf6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -980,6 +980,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).",
Expand Down

0 comments on commit f98caf6

Please sign in to comment.