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:
parent
060a9f4597
commit
6a1c9a6b52
2 changed files with 56 additions and 0 deletions
14
.vimspector.json
Normal file
14
.vimspector.json
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
{
|
||||
"configurations": {
|
||||
"Python: Attach To Vim": {
|
||||
"variables": {
|
||||
"port": "5678",
|
||||
"host": "localhost"
|
||||
},
|
||||
"adapter": "multi-session",
|
||||
"configuration": {
|
||||
"request": "attach"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue