I run Chrome 48.0, and recently, when I try to place breakpoints in the developer's console, sometimes they refuse to be placed in certain lines and instead go to another line. In much the same way, when you try to place a breakpoint on a line that doesn't make sense (like a bracket in itself), but these are regular lines. If I make changes to my code, the lines that refuse to work may change, and the lines that worked before that may stop working.
I suppose this has something to do with source matching, but I'm confused why some lines are working correctly and there won't be a line right after that.
I use grunt-browsify with babelify and babel-preset-react, babel-preset-es2015 and babel-plugin-syntax-object-rest-spread:
options: { transform: [['babelify', { presets: ['react', 'es2015'], plugins: ['syntax-object-rest-spread'], }]], browserifyOptions: { extensions: ['.jsx'], paths: [absPath + '/js', absPath], debug: true // Adds source maps to output },
Any idea what could happen?
javascript google-chrome gruntjs source-maps grunt-browserify
Andrew
source share