[Lldb-commits] [PATCH] D104578: Clarify the "env" launch configuration setting.

Greg Clayton via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Fri Jun 18 16:21:04 PDT 2021


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": {


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D104578.353123.patch
Type: text/x-patch
Size: 649 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20210618/64ceaeee/attachment-0001.bin>


More information about the lldb-commits mailing list