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

3

7

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.."), or displaying any errors to the console. If an error occurs I can see the red error icon in the bottom right of the window, but if I click on the icon it doesn't show the error details in the console window or highlight the error in the source.

I have tried re-installing Chrome and the problems persists. Is anyone else experiencing this issue, and/or have a solution to it?

Martingale answered 6/9, 2013 at 10:15 Comment(1)
Can this be related - code.google.com/p/chromium/issues/detail?id=21734 ?Lilianaliliane
G
17

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
Guth answered 7/9, 2013 at 14:34 Comment(1)
Aaaah! Thank you, completely didn't spot that! (I thought it was a bit odd that no one else was shouting about it.)Martingale
P
12

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.
Popham answered 19/12, 2018 at 12:36 Comment(0)
P
7

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.

Psychoneurotic answered 11/7, 2018 at 16:28 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.