From 0b8f779580dffd242a93b14e911938a9e461ebf6 Mon Sep 17 00:00:00 2001
From: David Dorchies <david.dorchies@irstea.fr>
Date: Wed, 24 Apr 2019 15:47:52 +0200
Subject: [PATCH] #84 Add Debugging Karma in vscode

---
 .vscode/launch.json | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/.vscode/launch.json b/.vscode/launch.json
index b627ca86..eface6dd 100644
--- a/.vscode/launch.json
+++ b/.vscode/launch.json
@@ -16,6 +16,17 @@
             ],
             "cwd": "${workspaceRoot}",
             "preLaunchTask": "buildspec"
+        },
+        {
+            "type": "chrome",
+            "request": "launch",
+            "name": "Attach Karma Chrome",
+            "sourceMaps": true,
+            "webRoot": "${workspaceRoot}/build",
+            "url": "http://localhost:9876/debug.html",
+            "runtimeArgs": [
+                "--headless"
+            ]
         }
     ]
 }
\ No newline at end of file
-- 
GitLab