Skip to content

Commit 265efab

Browse files
committed
[lldb-dap] Add missing debugAdapterEnv into attach configuration
1 parent 9fdf2c7 commit 265efab

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

lldb/tools/lldb-dap/package.json

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -672,6 +672,29 @@
672672
},
673673
"markdownDescription": "The list of additional arguments used to launch the debug adapter executable. Overrides any user or workspace settings."
674674
},
675+
"debugAdapterEnv": {
676+
"anyOf": [
677+
{
678+
"type": "object",
679+
"markdownDescription": "Additional environment variables to set when launching the debug adapter executable. E.g. `{ \"FOO\": \"1\" }`",
680+
"patternProperties": {
681+
".*": {
682+
"type": "string"
683+
}
684+
},
685+
"default": {}
686+
},
687+
{
688+
"type": "array",
689+
"markdownDescription": "Additional environment variables to set when launching the debug adapter executable. E.g. `[\"FOO=1\", \"BAR\"]`",
690+
"items": {
691+
"type": "string",
692+
"pattern": "^((\\w+=.*)|^\\w+)$"
693+
},
694+
"default": []
695+
}
696+
]
697+
},
675698
"program": {
676699
"type": "string",
677700
"description": "Path to the program to attach to."

0 commit comments

Comments
 (0)