Ngx-admin: Debugging works incorrectly in both VSCode and Chrome Dev Tools

Created on 22 Mar 2017  路  2Comments  路  Source: akveo/ngx-admin

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

bug

All 2 comments

+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.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

queirozfcom picture queirozfcom  路  4Comments

xandatspain picture xandatspain  路  3Comments

nsankaranarayanan picture nsankaranarayanan  路  3Comments

mignam picture mignam  路  3Comments

PatrickHuetter picture PatrickHuetter  路  3Comments