React dev tools - Deactivate “break on warnings”

后端 未结 6 2243
说谎
说谎 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:18

    The issue is due to a recent release. A Workaround proposed by the React team is:

    • Go to Chrome Developer Tools
    • Click on the Components Tab (React Developer Tools Extension)
    • Click on the Settings icon (located next to the component search box)
    • Once modal opens select the Debugging tab
    • Finally, double click on the Break on Warnings checkbox (check and unchecked)

    Make sure at last the Break on Warnings checkbox is unchecked.

    Reference: Issue link

提交回复
热议问题