LoginSignup
7
9

More than 5 years have passed since last update.

Vue.jsの標準環境ではChrome上でBreakPointが発火しない

Posted at

解決策

devtool#cheap-module-eval-source-mapから#cheap-module-inline-source-mapに変更するだけ。

build/webpack.dev.conf.js
  // eval-source-map is faster for development
  devtool: '#cheap-module-inline-source-map', //#cheap-module-eval-source-map',

これでちゃんと.vueに貼ったブレークも発火します。

キャプチャ.PNG

該当Issue

当方の環境

再発したときのために、一応環境も書いておく。
Windows10@1703(15063.138)
Chrome@ 58.0.3029.96 (64-bit)
vue@2.3.2
webpack@2.5.1

7
9
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
7
9