Hello there ,
If you set some breakpoints in .ts code the breakpoints will not be hit at the lines you set them. Sometimes the debugger stops at some lines of code at the end of the file you set your breakpoints originally.
You guys based your template project on https://github.com/AngularClass/angular2-webpack-starter. I checked the starter and debugging perfectly works there but not in your codebase.
Could you check that and return the debugging functionality from angular2-webpack-starter to working condition in your code base. As of this moment the debugging looks kinda useless and makes life difficult. I diffed your code vs. angular2-webpack-starter and see that you did not deviate too far. That should not be a big thing to fix.
Thanks a lot!
Dmitry
+1
Hi,
@dbaranau , In the meantime you can change the webpack.dev configuration.
from : devtool: 'cheap-module-source-map', to devtool: 'source-map',
http://webpack.github.io/docs/configuration.html#devtool
Thanks,
Ran.