From 5edabfdc735c668c3e6a8592047f347b2b3a05d3 Mon Sep 17 00:00:00 2001 From: Panayot Cankov Date: Tue, 19 Dec 2017 14:15:52 +0200 Subject: [PATCH] refactor(debugging): Add vscode launch options to allow debugging the webpack process This will allow debuggin the AngularApp's webpack process from VSCode, open at the root of the repo. --- .vscode/launch.json | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .vscode/launch.json diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 00000000..9af8be69 --- /dev/null +++ b/.vscode/launch.json @@ -0,0 +1,18 @@ +{ + // 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": "node", + "request": "launch", + "name": "AngularApp Webpack", + "cwd": "${workspaceFolder}/demo/AngularApp", + "program": "${workspaceFolder}/demo/AngularApp/node_modules/.bin/webpack", + "args": [ "--env.android", "--env.aot" ], + "runtimeArgs": [ "--preserve-symlinks" ], + "stopOnEntry": true, + } + ] +} \ No newline at end of file