Console.log on iOS chrome, why not?

Tram Ho

Did you know you can Console.log on your phone or not? I was really amazed when I first used it and sure it will be really useful for us developer brothers.

Of course, you can debug on iOS using safari, but because using safari will lead to some difficulties, so the Chrome team decided to build their own logger.

How it works:

How to use

Open chrome and type in the search bar:

Chrome will then show a tab like this:

You press start logging, then open another tab, remember to open another tab without closing the current tab, go to the site you want to debug. For example, I open the codepen after opening the debug site, type console.log("Hello Chrome iOS debuggger") into the js code box, the output will look like this:

Good luck!

Share the news now

Source : Viblo