Stjepan Suton
Stjepan Suton

Reputation: 123

Cannot see console.log-s in React

I can't remember when it started happening but basically as the title says I can't see console.log-s on my app but the states are getting updated because the app is working properly. And then if I update something in the code anything at all and the app recompiles I suddenly see everything that I logged before and after the second recompile. It happens across all of my app components. Even the errors I receive just say where the error is and not what it is. I tried taking out component by component in hopes that the logs will start appearing but the problem persists.

console.log("something")

enter image description here

console.log("something")
console.log("something else")

enter image description here

Here is a purposely created error to simulate the problem enter image description here

Hope someone can help.

Upvotes: 4

Views: 13576

Answers (3)

Dobromir Kirov
Dobromir Kirov

Reputation: 1042

Check the console filters.
For some reason it happens like this... see image

Upvotes: 0

Erik Uusitalo
Erik Uusitalo

Reputation: 81

You have an active filter, remove that and you should be good to go.

Current active filter

Upvotes: 4

Marshall
Marshall

Reputation: 366

You have the console filter set enter image description here

Upvotes: 1

Related Questions