aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.vscode/launch.json17
-rw-r--r--tsconfig.json1
-rw-r--r--webpack.config.js1
3 files changed, 19 insertions, 0 deletions
diff --git a/.vscode/launch.json b/.vscode/launch.json
new file mode 100644
index 000000000..18585849a
--- /dev/null
+++ b/.vscode/launch.json
@@ -0,0 +1,17 @@
+{
+ // 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 Chrome against localhost",
+ "sourceMaps": true,
+ "breakOnLoad": true,
+ "url": "http://localhost:1050",
+ "webRoot": "${workspaceFolder}"
+ }
+ ]
+} \ No newline at end of file
diff --git a/tsconfig.json b/tsconfig.json
index 8c843e4ed..baf953964 100644
--- a/tsconfig.json
+++ b/tsconfig.json
@@ -4,6 +4,7 @@
"removeComments": true,
"experimentalDecorators": true,
"jsx": "react",
+ "sourceMap": true,
"outDir": "dist",
"lib": ["dom", "es2015"]
},
diff --git a/webpack.config.js b/webpack.config.js
index 5db0f3dfd..ed678edc8 100644
--- a/webpack.config.js
+++ b/webpack.config.js
@@ -6,6 +6,7 @@ module.exports = {
devtool: 'eval',
mode: 'development',
entry: "./src/Main.tsx",
+ devtool: "source-map",
output: {
filename: "./bundle.js",
path: path.resolve(__dirname, "build")