clayborg created this revision.
clayborg added reviewers: labath, aprantl, JDevlieghere, wallace.
clayborg requested review of this revision.
Herald added a project: LLDB.
Herald added a subscriber: lldb-commits.

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.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D104578

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


Index: lldb/tools/lldb-vscode/package.json
===================================================================
--- lldb/tools/lldb-vscode/package.json
+++ 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": {


Index: lldb/tools/lldb-vscode/package.json
===================================================================
--- lldb/tools/lldb-vscode/package.json
+++ 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": {
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to