React dev tools - Deactivate “break on warnings”

后端 未结 6 2379
说谎
说谎 2021-02-11 11:45

While developing with create-react-app, my browser enters debugger mode on warnings:

It breaks on the source code of react-dev-tools:



        
6条回答
  •  离开以前
    2021-02-11 12:12

    Chrome has a "BlackBox script" feature which is useful in this case.

    1. Go to Chrome Developer tools -> source tab
    2. Select "react_developer_tools.js" from the left pane
    3. Right-click file and select "Blackbox script"

提交回复
热议问题