rust-tools.nvim icon indicating copy to clipboard operation
rust-tools.nvim copied to clipboard

Modifying the list of RustDebuggables

Open harry-anderson opened this issue 3 years ago • 3 comments

Hi there!

How can I modify the list of commands available under 'RustDebuggables' for example passing project-specific arguments to cargo and environment variables? I'm following the config described in a better debugging experience. Thanks in advance!

harry-anderson avatar Nov 21 '21 06:11 harry-anderson

I believe this should work https://github.com/simrat39/rust-tools.nvim/issues/83

simrat39 avatar Nov 21 '21 06:11 simrat39

nevermind this is for a different thing it seems, i'll look into it tomorrow

simrat39 avatar Nov 21 '21 06:11 simrat39

+1. Thanks a lot for working on this.

After browsing the web about this issue, I found that it seems supported by nvim-dap 1, and it even supports part of the launch.json used by vscode 2.

Overall, I would love to be able to provide custom command-line arguments to my runnable/debuggable/test but haven't found how.

fmorency avatar Jan 24 '22 20:01 fmorency