diff options
| author | Philipp Eichmann <philipp.eichmann@gmail.com> | 2019-01-10 16:51:14 -0500 |
|---|---|---|
| committer | Philipp Eichmann <philipp.eichmann@gmail.com> | 2019-01-10 16:51:14 -0500 |
| commit | 861d61970afc9e67afbafa64e8c1347a18335077 (patch) | |
| tree | 69d8a9503f837b24813a5da8b3315921274b63b5 | |
| parent | 5c3b292430db7c18629d78105bd2f294a653d8ee (diff) | |
added config to enable debugging
| -rw-r--r-- | .vscode/launch.json | 17 | ||||
| -rw-r--r-- | tsconfig.json | 1 | ||||
| -rw-r--r-- | webpack.config.js | 1 |
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") |
