123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960 |
- {
- "$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"
- }
- }
- }
- }
- }
|