17
submitted 11 months ago* (last edited 11 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,

you are viewing a single comment's thread
view the rest of the comments
[-] sixdripb@lemmy.world 3 points 11 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 10 months ago

Thanks! Working nicely now

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

Neovim

2183 readers
1 users here now

founded 1 year ago
MODERATORS