wiki:vimspector_configs
Table of Contents
vimspector configs
Below should be in .vimspector.json file in project directory or add it globally so you don't have to add it to every single project to
<vimspector home>/configurations/<OS>/<filetype>/*.json
e.g for python add it to
$HOME/.vim/plugged/vimspector/configurations/linux/python/mydebug.json.
Python
{ "configurations": { "run: Launch": { "adapter": "debugpy", "filetypes": [ "python" ], "configuration": { "name": "<name>: Launch", "type": "python", "request": "launch", "cwd": "${workspaceRoot}", "python": "/usr/bin/python", "stopOnEntry": true, "console": "externalTerminal", "debugOptions": [""], "args" : ["-p app -a android"], "program": "${file}" } }, "bbbbb: Launch": { "adapter": "debugpy", "filetypes": [ "python" ], "configuration": { "name": "<name>: Launch", "type": "python", "request": "launch", "cwd": "${workspaceRoot}", "python": "/usr/bin/python", "stopOnEntry": true, "console": "externalTerminal", "debugOptions": [""], "args" : ["-p app -a android"], "program": "${file}" } } } }
Tested on
- Vim 8.2
See also
References
wiki/vimspector_configs.txt · Last modified: 2023/08/24 11:32 by antisa