From f352e19e9023cea0b7298ba11a35d182a741a636 Mon Sep 17 00:00:00 2001
From: Alexander Rose <alexander.rose@weirdbyte.de>
Date: Sun, 22 Sep 2019 09:32:19 -0700
Subject: [PATCH] config for debugging

---
 .vscode/extensions.json |  2 ++
 .vscode/launch.json     | 16 ++++++++++++++++
 tsconfig.json           |  6 +++---
 3 files changed, 21 insertions(+), 3 deletions(-)
 create mode 100644 .vscode/launch.json

diff --git a/.vscode/extensions.json b/.vscode/extensions.json
index ba68be880..ed23e9102 100644
--- a/.vscode/extensions.json
+++ b/.vscode/extensions.json
@@ -4,7 +4,9 @@
 
 	// List of extensions which should be recommended for users of this workspace.
 	"recommendations": [
+		"firsttris.vscode-jest-runner",
 		"ms-vscode.vscode-typescript-tslint-plugin",
+		"msjsdiag.debugger-for-chrome",
 		"slevesque.shader",
 		"stpn.vscode-graphql",
 		"wayou.vscode-todo-highlight"
diff --git a/.vscode/launch.json b/.vscode/launch.json
new file mode 100644
index 000000000..c9c1a4fa4
--- /dev/null
+++ b/.vscode/launch.json
@@ -0,0 +1,16 @@
+{
+    // Use IntelliSense to learn about possible attributes.
+    // Hover to view descriptions of existing attributes.
+    // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
+    "version": "0.2.0",
+    "configurations": [
+        {
+            "type": "chrome",
+            "request": "launch",
+            "name": "Launch Mol* Viewer",
+            "url": "http://localhost:1338/build/viewer/index.html",
+            "sourceMaps": true,
+            "webRoot": "${workspaceFolder}"
+        }
+    ]
+}
\ No newline at end of file
diff --git a/tsconfig.json b/tsconfig.json
index c9ee2f8d7..a8f2d26a1 100644
--- a/tsconfig.json
+++ b/tsconfig.json
@@ -5,7 +5,7 @@
         "alwaysStrict": true,
         "noImplicitAny": true,
         "noImplicitThis": true,
-        "sourceMap": false,
+        "sourceMap": true,
         "noUnusedLocals": true,
         "strictNullChecks": true,
         "strictFunctionTypes": true,
@@ -13,7 +13,7 @@
         "jsx": "react",
         "lib": [ "es6", "dom", "esnext.asynciterable", "es2016" ],
         "rootDir": "src",
-        "outDir": "lib",
+        "outDir": "lib"
     },
-    "include": [ "src/**/*" ],
+    "include": [ "src/**/*" ]
 }
\ No newline at end of file
-- 
GitLab