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.
14 lines
244 B
JSON
14 lines
244 B
JSON
{
|
|
"configurations": {
|
|
"Python: Attach To Vim": {
|
|
"variables": {
|
|
"port": "5678",
|
|
"host": "localhost"
|
|
},
|
|
"adapter": "multi-session",
|
|
"configuration": {
|
|
"request": "attach"
|
|
}
|
|
}
|
|
}
|
|
}
|