Skip to content

How to configure nvim dap to debug a remote python program? #910

Answered by mfussenegger
mpas asked this question in Q&A
Discussion options

You must be logged in to vote

The adapter config needs to treat the attach request in a special way like this:

https://github.com/mfussenegger/nvim-dap-python/blob/65ccab83fb3d0b29ead6c765c1c52a1ed49592e8/lua/dap-python.lua#L136-L162

I'd recommend to use nvim-dap-python as it sets up the adapter correctly.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@mpas
Comment options

Answer selected by mpas
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants