I use webpack to compile my project, and then I found this will be compiled to _this2 if there is a promise.
And the problem is that when I take a breakpoint in the promise, this will always be undefined in chrome-dev-tools.
Is it a bug? Is it difficult for Chromium develop team to resolve this?
Now, the source code:
the compiled code by webpack:
because there is a source-map, chrome will display the source code for me, and this outside the promise will be correctly inspected.
but, this inside the promise will be undefined



