-
Notifications
You must be signed in to change notification settings - Fork 37.3k
Description
Type: Feature Request
When debugging C++ programs, you need to modify "configurations" -> "environment" in launch.json, for example, name = PATH, value="xxx1; Xxx2 ",the problem now is that if the path in value is long, the string of value will be very long, which is difficult to check and maintain. I suggest that the value field supports array types, so that I can give different path strings in the form of a list, for example:
{
"name": "PATH",
"value": [
"C:/Qt/qt-5.15.13-msvc2019/bin",
"${workspaceFolder}/library/bin",
"${workspaceFolder}/thirdparty/qcefview/bin/release",
"${workspaceFolder}/thirdparty/assimp/bin"
]
}
This is very easy to read and maintain.
I hope to adopt it!
VS Code version: Code 1.107.1 (994fd12, 2025-12-17T14:15:14.850Z)
OS version: Windows_NT x64 10.0.26200
Modes: