We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
dap-start-debugging
recompile
The server log buffer, created with dap-start-debugging-noexpand does not keep environment variables for re-execution using recompile
dap-start-debugging-noexpand
run
(dap-start-debugging-noexpand '(:program-to-start "/bin/sh -c 'echo FOO=$FOO'" :environment-variables (("FOO" . "BAR")) :name "test-compile-bug" :cwd "." :skip-debug-session t))
The output will be like:
-*- mode: dap-server-log; default-directory: "/usr/bin/" -*- Debug Adapter started at Thu Sep 23 09:35:56 /bin/sh -c 'echo FOO=$FOO' FOO=BAR Debug Adapter finished at Thu Sep 23 09:35:56
Press g in the log buffer, now the output will be like:
g
-*- mode: dap-server-log; default-directory: "/usr/bin/" -*- Debug Adapter started at Thu Sep 23 09:38:58 /bin/sh -c 'echo FOO=$FOO' FOO= Debug Adapter finished at Thu Sep 23 09:38:58
The command is re-executed using same environment
I run tests dap-java-run-test-class which uses an environment variable to pass java classpath.
dap-java-run-test-class
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
The problem
The server log buffer, created with
dap-start-debugging-noexpand
does not keep environment variables for re-execution usingrecompile
How to reproduce:
run
The output will be like:
Press
g
in the log buffer, now the output will be like:What is expected
The command is re-executed using same environment
Affected use cases
I run tests
dap-java-run-test-class
which uses an environment variable to pass java classpath.The text was updated successfully, but these errors were encountered: