浏览代码

vimspector: made test debugging work again

Ben Jackson 2 年之前
父节点
当前提交
a2d8d77795
共有 1 个文件被更改,包括 4 次插入3 次删除
  1. 4 3
      .vimspector.json

+ 4 - 3
.vimspector.json

@@ -34,18 +34,19 @@
         "type": "debugpy",
         "request": "launch",
 
-        "cwd": "${workspaceRoot}/python",
+        "cwd": "${workspaceRoot}",
         "stopOnEntry": false,
         "console": "integratedTerminal",
         "justMyCode": true,
+        "logToFile": true,
+        "showReturnValue": true,
 
         "debugOptions": [],
 
-        "module": "pytest",
+        "module": "unittest",
         "python": "${python}",
         "args": [
           "-v",
-          "--tb=native",
           "${Test}"
         ],
         "env": {