17
submitted 10 months ago* (last edited 10 months ago) by menisadi@programming.dev to c/neovim@programming.dev

I just installed LSP stuff using Mason (debugpy, pyright, black and flake8) and made sure that they are also installed on my python environment.

This pops-up when I try to start DAP (by either F5 or by :DapContinue).

I'm quite new to neovim so I might be missing somthing basic,

top 2 comments
sorted by: hot top controversial new old
[-] sixdripb@lemmy.world 3 points 10 months ago

hmm have you tried to restart your shell after installing debugpy?

if running lua= vim.fn.exepath('debugpy-adapter') from nvim command mode doesn't return the path, something prob went wrong with your debugpy install, as neovim can't see the adapter. maybe try reinstalling debugpy from mason, quit nvim and reopen it in a new shell and see if can detect it.

[-] menisadi@programming.dev 2 points 9 months ago

Thanks! Working nicely now

this post was submitted on 25 Dec 2023
17 points (100.0% liked)

Neovim

2159 readers
1 users here now

founded 1 year ago
MODERATORS