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

Little troubleshoot for nvim users who want to debug. #1117

Closed
bus710 opened this issue Sep 19, 2024 · 2 comments
Closed

Little troubleshoot for nvim users who want to debug. #1117

bus710 opened this issue Sep 19, 2024 · 2 comments

Comments

@bus710
Copy link

bus710 commented Sep 19, 2024

Goal

I just want to share my success story with others.

Environment

  • Elixir & Erlang versions (elixir --version): OTP 1.17
  • Elixir Language Server version: 0.23.0
  • Operating system: Debian Testing
  • Editor or IDE name (e.g. Emacs/VSCode): AstroNvim v4
  • Editor Plugin/LSP Client name and version: nvim-dap?

Current behavior

  • I was trying to set up the debugger within AstroNvim.
  • The nvim-dap repo has a good example.
  • Things didn't work for the first shot, but I was able to make it by:
    • Copy the VERSION file of elixir-ls in the scripts directory.
    • Run the launch.sh and wait until it ends.
    • Try debugging in nvim.

Expected behavior

Nothing expected, but the doc can tell that nvim users might want to do the steps I needed to do?

@lukaszsamson
Copy link
Collaborator

You should run release script instead of manually managing VERSION. You should also use debug_adapter.sh as executable. This is what VSCode does

@bus710
Copy link
Author

bus710 commented Sep 19, 2024

@lukaszsamson
Thanks for your comment!
I guess I overlooked this part if that is what the release script means.

Hope this PR can be helpful for other nvim users.
Let me close it.

@bus710 bus710 closed this as completed Sep 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants