Enable embedded vim python debugging

This allows us to use vimspector to debug vimspector. The idea is that
in Vim you call 'py3 from vimspector.developer import SetUpDebugpy;
SetUpDebugpy()' and then just attach to localhost:5678 using the new
multi-session mode support. Oof.
This commit is contained in:
Ben Jackson 2020-05-17 19:15:39 +01:00
commit 6a1c9a6b52
2 changed files with 56 additions and 0 deletions

14
.vimspector.json Normal file
View file

@ -0,0 +1,14 @@
{
"configurations": {
"Python: Attach To Vim": {
"variables": {
"port": "5678",
"host": "localhost"
},
"adapter": "multi-session",
"configuration": {
"request": "attach"
}
}
}
}