LoginSignup
0
0

More than 3 years have passed since last update.

create-react-appで生成したReactのJest実行をVSCodeからブレークが効く状態で実行する

Last updated at Posted at 2020-12-18

概要

create-react-appで生成したReactのJest実行をVSCodeからブレークが効く状態で実行する。

やり方

公式 に書いてあるのでそれ参照。。

公式acebookのcreate-react-appを使用しているなら、Jestのテストを以下の設定でデバッグできます: のコードを launch.json にコピペしてそれを実行する。

※テストコードの方もブレークできるし、実装側の方もブレークできる。

0
0
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
0
0