加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
.vimspector.json 1.47 KB
一键复制 编辑 原始数据 按行查看 历史
{
"$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"
}
}
}
}
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化