Debug browser code in vscode

One of the selling point of vscode is its built-in debugger. It is quite powerful but not the easiest thing to setup . Debugging Nodejs code is kind of straightforward as usually it is a standalone file or sometime an entry server file. I have a blog on debug typescript mocha and server in vscode. However…

webpack custom plugin

Recently we work with a platform which need to use webpack to build some ng2/4 assets and also some custom steps to pull data from a headless cms(via gulp) and eventually render components. One problem here is we cannot do live reload/recompile that every time we make some change we have to run the npm…