Skip to content

Conversation

dudinea
Copy link

@dudinea dudinea commented Sep 23, 2021

Fixes #510

Change dap-start-debugging-noexpand to use the compilation-environment
variable instead of using setenv and process-environment directly.

In contrast to process-environment the compilation-environment
variable is saved as buffer-local by compilation-start and thus
it's value is kept for reexecution by the recompile command.

Change 'dap-start-debugging-noexpand' to use the 'compilation-environment'
variable instead of using 'setenv' and 'process-environment' directly.
In contrast to 'process-environment' the 'compilation-environment'
variable is saved as buffer-local by 'compilation-start' and thus
it's value is kept for reexecution by the 'recompile' command.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

The server log buffer, created with dap-start-debugging does not keep environment variables for reexecution using recompile
1 participant