C
C
Cyril2017-08-15 15:28:24
iPhone
Cyril, 2017-08-15 15:28:24

How are the JavaScript debuggers for iPhones/iPads?

The JavaScript code works fine both on the desktop and in the iPhone / iPad emulator (Google Chrome). But when I open the site with this JavaScript code on real iPhone / iPad devices, then there is a problem, the script does nothing.
And, I repeat, the emulators of these devices themselves work flawlessly. Everything is being done. As far as I understand, the Safari browser does not support something.
Are there any means of debugging JavaScript code for the devices themselves? For example, is there any way to open the browser console on iPhones / iPads, as it is done in Google Chrome by pressing F12 ?
Suddenly I see errors in the console ...

Answer the question

In order to leave comments, you need to log in

5 answer(s)
R
Ramil, 2017-08-15
@rshaibakov

Debugging on Apple mobile devices is possible by connecting them to a MacOS computer. By opening Safari on it, you can select the connected mobile device that you want to debug, and a console will appear that resembles the developer tools on Chrome. Well, then everything is as usual.

A
Alexander Aksentiev, 2017-08-15
@Sanasol

https://jsconsole.com/

E
Evgeniy Kvasyuk, 2017-08-15
@EvgeniyKvasyuk

The only correct way to debug bugs on ios devices is to connect the device to a macos device and debug in safari. Emulators will not cover all cases.

D
Dmitry Dart, 2017-08-15
@gobananas

Try to use this service https://www.browserling.com/ I had the same problem, Safari 4 version was installed on the device, it was possible to debug it. And the console once in the old IE had to be looked at - also without problems.
It is advisable, of course, to first accurately determine the browser version on the devices you want to test.

R
Raphael™, 2017-08-15
@maxminimus

use only what caniuse is for a specific platform
, then you can test on the desktop and there will be cross-platform

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question