changeset 2203:615046dfe45f

failing to get pytest debugging to work
author drewp@bigasterisk.com
date Mon, 22 May 2023 01:03:18 -0700
parents 54f4f5158ddf
children 3db40ecf9e61
files .vscode/settings.json
diffstat 1 files changed, 24 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/.vscode/settings.json	Mon May 22 01:02:42 2023 -0700
+++ b/.vscode/settings.json	Mon May 22 01:03:18 2023 -0700
@@ -1,13 +1,30 @@
 {
-  "python.autoComplete.extraPaths": ["__pypackages__/3.10/lib"],
+  "djlint.pythonPath": "./bin/python",
+  "python.analysis.autoFormatStrings": true,
+  "python.analysis.diagnosticMode": "workspace",
+  "python.analysis.enablePytestSupport": true,
   "python.analysis.extraPaths": ["__pypackages__/3.10/lib"],
-  "python.analysis.diagnosticMode": "workspace",
-  "cmake.configureOnOpen": false,
+  "python.autoComplete.extraPaths": ["__pypackages__/3.10/lib"],
+  "python.defaultInterpreterPath": "./bin/python",
+  "python.formatting.provider": "yapf",
+  "python.testing.pytestEnabled": true,
+  "python.testing.pytestPath": "./bin/pytest",
+  "pythonTestExplorer.testFramework": "pytest",
   "toTypeScript.fixUnreachableCode": false,
   "toTypeScript.fixUnusedLabel": false,
   "toTypeScript.forgottenThisPropertyAccess": false,
-  "python.formatting.provider": "yapf",
-  "python.testing.pytestEnabled": true,
-  "python.testing.pytestPath": "./bin/pytest",
-  "python.analysis.enablePytestSupport": true
+  "launch": {
+    
+    "configurations": [
+      {
+        "name": "Python: File",
+        "type": "python",
+        "request": "launch",
+        "program": "${file}",
+        "justMyCode": true,
+        "python": "./bin/python"
+      }
+    ],
+    "compounds": []
+  }
 }