RubenGeert
RubenGeert

Reputation: 2952

Where do I see the reason for the warning?

I'm getting a warning in Chrome Developer but I can't figure out what causes it. enter image description here

I looked here but it offers no explanation. So far, the web page is super simple (basically 1 local html file + 1 css, no PHP/Javascript involved). I obviously clicked around (on the warning sign too) but nothing happens.

UPDATE

This really does look like a bug to me. Even with "Warnings" selected, I'm not seeing them here

enter image description here

but there's plenty of them...

FINAL UPDATE

Devtools' behavior really seems somewhat inconsistent here. I reported this as a bug with Goole.

Upvotes: 26

Views: 9779

Answers (1)

Ethan Selzer
Ethan Selzer

Reputation: 1755

Looking at the bottom of the screen-capture you provided, I see the console filter is set to "Debug". The console filter options are located to the left of the warning symbol. If you change the filter to "Warnings" or "All", you should see the warning message associated with the warning symbol.

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. To select multiple filter buttons, Ctrl-click, Windows, or Cmd-click, OSX.

Upvotes: 40

Related Questions