React Native — How to debug an app without the debugger turned on

Eugenio Galioto
Jul 31, 2019

You don’t always want the debugger turned on because in some cases it makes the whole process very slow.

To get real time info from the app you can just use console.warn:

console.warn(whatever_you_wanna_show);

Essentially, console.warn prints out the yellow horizontal sections you often see in your app.

It is not meant to be used this way, but it’s very useful in these cases.

That’s it.

#TheExamplesPlatform

--

--

Eugenio Galioto

Builder 🚀 On Deck Fellow 🌎 AR & Generative AI Enthusiast 🧠