Google Chrome Developer Tools has stopped logging output and errors to the console?

后端 未结 3 1962
情歌与酒
情歌与酒 2021-01-13 04:34

I\'m currently running Google Chrome version 31.0.1622.7 and since about 2 days ago my dev tools stopped logging any of my output (e.g. console.log(\"Blah..\"),

相关标签:
3条回答
  • 2021-01-13 04:53

    On the bottom of the devtools window, to the left of the error and warning icons, there should be a set of console output filter buttons. See below for a description of the filter options. Note the funnel button to the left of the "All" button.

    enter image description here

    You must check the type of output you want in the funnel-menu. The funnel menu is active for all filter-button options. So if you select the "Logs" button but have "Logging" unchecked in the funnel-menu, there will be no logging output. Both funnel-menu and filter-buttons can be multi-selected. Ctrl-click, Windows, or Cmd-click, OSX, to select multiple filter-buttons.

    From the docs

    • All—Shows all console output.
    • Errors—Only show output from console.error()
    • Warnings—Only show output from console.warn()
    • Logs—Only show output from console.log(), console.info() and console.debug().
    • Debug—Only show output from console.timeEnd() and other console output
    0 讨论(0)
  • 2021-01-13 05:14

    I had same problem and i solved by Restore defaults and reload chrome settings.

    You can follow this way:

    1. Open DevTools by pressing F12 or ctrl + shift + i.
    2. Press F1 or click on tree dots on the top right corner and select settings in this menu.
    3. Scroll at the bottom or to the right of screen and press [restore defaults and reload] button.
    0 讨论(0)
  • 2021-01-13 05:14

    I had this same problem (for five frustrating days) and it was because I had inadvertently typed something in the "Filter" field. And then once I deleted that, all my messages came back.

    0 讨论(0)
提交回复
热议问题