[Lldb-commits] [lldb] 4181bfe - Clarify the "env" launch configuration setting.

Greg Clayton via lldb-commits lldb-commits at lists.llvm.org
Mon Jun 21 16:11:26 PDT 2021


Author: Greg Clayton
Date: 2021-06-21T16:11:16-07:00
New Revision: 4181bfe6888fdc6f24dc42d4ebb295920826de2b

URL: https://github.com/llvm/llvm-project/commit/4181bfe6888fdc6f24dc42d4ebb295920826de2b
DIFF: https://github.com/llvm/llvm-project/commit/4181bfe6888fdc6f24dc42d4ebb295920826de2b.diff

LOG: Clarify the "env" launch configuration setting.

A few users recently were trying to set environment values when using lldb-vscode and were unsure of the format of the "env" launch configuration setting. Clarify the exact format as when users add the "env" launch config setting, they can see this help string in the IDE.

Differential Revision: https://reviews.llvm.org/D104578

Added: 
    

Modified: 
    lldb/tools/lldb-vscode/package.json

Removed: 
    


################################################################################
diff  --git a/lldb/tools/lldb-vscode/package.json b/lldb/tools/lldb-vscode/package.json
index 68e1be210f65..e4116e38efbc 100644
--- a/lldb/tools/lldb-vscode/package.json
+++ b/lldb/tools/lldb-vscode/package.json
@@ -102,7 +102,7 @@
 							},
 							"env": {
 								"type": "array",
-								"description": "Additional environment variables.",
+								"description": "Additional environment variables to set when launching the program. This is an array of strings that contains the variable name followed by an optional '=' character and the environment variable's value. Example:  [\"FOO=BAR\", \"BAZ\"]",
 								"default": []
 							},
 							"stopOnEntry": {


        


More information about the lldb-commits mailing list