Skip to content

Commit e582ff9

Browse files
committed
`dap-debug': :environment-variables: override
Variables set using :environment-variables in a debug configuration did't override the ones from the current Emacs instance, because SUBSTITUTE-ENV-VARS wasn't given.
1 parent 445576e commit e582ff9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dap-mode.el

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1595,7 +1595,7 @@ before starting the debug process."
15951595
(cl-copy-list process-environment)
15961596
process-environment))
15971597
program-process)
1598-
(mapc (-lambda ((env . value)) (setenv env value)) environment-variables)
1598+
(mapc (-lambda ((env . value)) (setenv env value t)) environment-variables)
15991599
(plist-put launch-args :name session-name)
16001600

16011601
(when program-to-start

0 commit comments

Comments
 (0)