Browse Source

Added config to debug tests

Ievgen Naida 2 years ago
parent
commit
4c627bf33f
1 changed files with 8 additions and 1 deletions
  1. 8 1
      .vscode/launch.json

+ 8 - 1
.vscode/launch.json

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