Skip to content
This repository has been archived by the owner on Mar 16, 2020. It is now read-only.

source maps issue #23

Open
pavel06081991 opened this issue Jan 31, 2017 · 3 comments
Open

source maps issue #23

pavel06081991 opened this issue Jan 31, 2017 · 3 comments

Comments

@pavel06081991
Copy link

I used devtool: 'source-map' in webpack config and did not use babili-webpack-plugin.
Here are some code of my source file:

var b = 1024;

console.log(10)

All worked great, I could set breakpoint to line:
var b = 1024;
and to line
console.log(10)
Also I could see the value of "b" variable during debugging.

But after I added babili-webpack-plugin I can not see the value of "b" variable. Also now I can set breakpoint only to line:
console.log(10)
and can not set breakpoint to line:
var b = 1024;

Is it an issue or maybe I do something wrong? Here is part of my webpack.config.js

const config = {
    devtool: 'source-map',
    plugins: [
        new BabiliPlugin({}, {
            comments: false
        })
    ]
}
@jknight12882
Copy link

+1 on this, it is screwing up any ability to set breakpoints and debug

@pavel06081991
Copy link
Author

Are there any updates on this issue?

@QuentinRoy
Copy link

I have the same kind of issues except that I barely see any source maps at all once I activate the babili plugin... Is it possible that there is an incompatibility between the Babili plugin and ExtractTextPlugin, or handlebars-loader ?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants