Chrome DevTools won't let me set breakpoints on certain lines

前端 未结 6 1885
臣服心动
臣服心动 2021-02-06 20:37

In the image above, I tried setting breakpoints on every line from line 437 to line 443. However, I cannot set breakpoints on lines 439 and 440. When the function runs,

6条回答
  •  借酒劲吻你
    2021-02-06 21:08

    This recently became an issue for me, running System.js and Babel, and with plain ES6 transpiling, I haven't gotten to minifying/mapping yet. A workaround seems to be to add your breakpoint to the !transpiled file, a matching breakpoint will automagically appear in the corresponding line in the raw file.

提交回复
热议问题