1dcbe335e1
subrepo: subdir: "dotfiles/.vim/plugged/YouCompleteMe" merged: "99ccab251" upstream: origin: "https://github.com/ycm-core/YouCompleteMe.git" branch: "master" commit: "99ccab251" git-subrepo: version: "0.4.3" origin: "???" commit: "???"
60 lines
1.5 KiB
JSON
60 lines
1.5 KiB
JSON
{
|
|
"$schema": "https://puremourning.github.io/vimspector/schema/vimspector.schema.json",
|
|
"configurations": {
|
|
"Python: Attach To Vim": {
|
|
"variables": {
|
|
"port": "5678",
|
|
"host": "localhost"
|
|
},
|
|
"adapter": "multi-session",
|
|
"configuration": {
|
|
"request": "attach"
|
|
}
|
|
},
|
|
"python - launch pytest": {
|
|
"adapter": "debugpy",
|
|
"variables": [
|
|
{
|
|
"python": {
|
|
"shell": "/bin/bash -c 'if [ -z \"${dollar}VIRTUAL_ENV\" ]; then echo $$(which python3); else echo \"${dollar}VIRTUAL_ENV/bin/python\"; fi'"
|
|
}
|
|
},
|
|
{
|
|
"python_path": {
|
|
"shell": [
|
|
"${python}",
|
|
"${workspaceRoot}/run_tests.py",
|
|
"--dump-path"
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"configuration": {
|
|
"name": "Python run test",
|
|
"type": "debugpy",
|
|
"request": "launch",
|
|
|
|
"cwd": "${workspaceRoot}",
|
|
"stopOnEntry": false,
|
|
"console": "integratedTerminal",
|
|
"justMyCode": true,
|
|
"logToFile": true,
|
|
"showReturnValue": true,
|
|
|
|
"debugOptions": [],
|
|
|
|
"module": "unittest",
|
|
"python": "${python}",
|
|
"args": [
|
|
"-v",
|
|
"${Test}"
|
|
],
|
|
"env": {
|
|
"PYTHONPATH": "${python_path}",
|
|
"LD_LIBRARY_PATH": "${workspaceRoot}/third_party/ycmd/third_party/clang/lib",
|
|
"YCM_TEST_NO_RETRY": "1"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|