{{tag>vim plugins debug}} ====== 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 ///configurations///*.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": ": 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": ": 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 ====== * https://dev.to/iggredible/debugging-in-vim-with-vimspector-4n0m * https://github.com/puremourning/vimspector * https://puremourning.github.io/vimspector/configuration.html#debug-configurations