简体   繁体   中英

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")

在此处输入图像描述

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

在此处输入图像描述

Here is a purposely created error to simulate the problem在此处输入图像描述

Hope someone can help.

You have the console filter set在此处输入图像描述

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

Current active filter

Check the console filters.
For some reason it happens like this... 看图片

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM