emacs-lsp / dap-mode

Emacs :heart: Debug Adapter Protocol
https://emacs-lsp.github.io/dap-mode
GNU General Public License v3.0
1.31k stars 182 forks source link

Configure cwd for `dap-java--run-unit-test-command` #312

Open SreenivasVRao opened 4 years ago

SreenivasVRao commented 4 years ago

Hi,

I want to use a custom function in place of lsp-java--get-root to get the root folder.

Should I use advice macros? Is there an easier way to do this? I thought editing the debug template would work, but I can't figure out how to select the template while running the test method...

Thanks!

yyoncho commented 4 years ago

I guess the solution here is to allow editing the last template that has been run, we do not have it right now.