News for hackers. Stuff that matters.
Re:Angular 4.0.0 Now Available by danielpatrick on Friday March 24, 2017 @09:24AM (#13948727)
Yes, good question.

I use VS Code (with the Chrome debugger plugin) and that works like a charm. I don't debug javascript in the browser anymore.

TS provides source mappings to map the compiled javascript back to the source (similar to a .dll's .pdb maybe?).

It took me some time to set up the config file which proved to be a headache (because webpack was screwing with the source maps), but again once that was set up it has been a breeze to debug right in my IDE whenever I want.

Re:Angular 4.0.0 Now Available by leshow on Friday March 24, 2017 @03:08PM (#13951393)
Odd, I'm new to vscode, but I tried to set up this plugin and it was completely unusable to me.

Perhaps you can describe the steps you followed? I tried installing the plugin and launching chrome with the debug flag, then setting a breakpoint in vscode. Is there something I am missing there?

Re:Angular 4.0.0 Now Available by kevindqc on Friday March 24, 2017 @12:44PM (#13950197)
That's been my experience too. Also once angular-cli seems more stable, I will probably switch to it and delete webpack (I know angular-cli uses webpack behind-the-scene, but at least I don't have to deal with it directly)