Hiding violations in Chrome Dev Console

前端 未结 3 1326
时光取名叫无心
时光取名叫无心 2020-12-24 13:35

Starting a few versions ago, Google Chrome has started showing JS violations in the developer console. While that can be useful sometimes, more often it is just cluttering t

3条回答
  •  长情又很酷
    2020-12-24 13:54

    Another option:

    1. Open Console Settings (the gear icon).
    2. Check the User Messages Only checkbox to only show messages logged from scripts. Browser violations are hidden when this checkbox is enabled.

    Chrome version: 62.0.3169.0 (Official Build) canary (64-bit)

提交回复
热议问题