Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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

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

feature: DAP config #2723

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

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
@github-actions github-actions bot added the Stale label Jun 5, 2024
@LazyVim LazyVim locked and limited conversation to collaborators Jun 5, 2024
@folke folke converted this issue into discussion #3475 Jun 5, 2024

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
enhancement New feature or request Stale
Projects
None yet
Development

No branches or pull requests

1 participant