Browse Source

Added config to debug tests

Ievgen Naida 2 năm trước cách đây
mục cha
commit
4c627bf33f
1 tập tin đã thay đổi với 8 bổ sung1 xóa
  1. 8 1
      .vscode/launch.json

+ 8 - 1
.vscode/launch.json

@@ -5,11 +5,18 @@
   "version": "0.2.0",
   "configurations": [
     {
-      "type": "pwa-chrome",
+      "type": "chrome",
       "request": "launch",
       "name": "Launch Debug File",
       "url": "file:///${workspaceFolder}/index.html",
       "webRoot": "${workspaceFolder}"
+    },
+    {
+      "type": "chrome",
+      "request": "launch",
+      "name": "Launch Test File",
+      "url": "file:///${workspaceFolder}/tests/unittests.html",
+      "webRoot": "${workspaceFolder}"
     }
   ]
 }