Skip to content
New issue

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

feature: DAP config #2723

Open
1 task done
tomhampshire opened this issue Mar 13, 2024 · 0 comments
Open
1 task done

feature: DAP config #2723

tomhampshire opened this issue Mar 13, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@tomhampshire
Copy link

Did you check the docs?

  • I have read all the LazyVim docs

Is your feature request related to a problem? Please describe.

It is difficult to reproduce bugs that cause exceptions using the debugger in Rust. Being able to introspect in debug mode when an exception occurs would avoid the need to step through a lot of code.

Describe the solution you'd like

I would like to be able to enable:

  • break on entry, and
  • break on panic (exception, error).

When debugging unit tests. Specifically, I am currently using the lang.rust extra feature of lazy.nvim v10.12.1

Describe alternatives you've considered

Configuring nvim-dap directly. This seems non-trivial.

Additional context

I am currently using the debugger for unit testing in Rust development. A quick fix would be helpful (a lua config), but in the long rust, having this configuration option in lazyvim would be helpful.

@tomhampshire tomhampshire added the enhancement New feature or request label Mar 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant