In Safari (9.1), I am looking at a long string value (should be about 500 characters), but only shows me the first hundred or so followed by "...".
I think it's just a local setting because I have another machine running safari and I can see more on it. I can't find it nor anything in the Google.
Thanks!
Right click on the string and select "Log value". This will print the full string to the console.
I had the same problem with Safari 13.0.2 where the log messages were cut short. But it only cuts messages if the message is not the first argument of the log function:
console.log('first log string', 'second log string')
The first argument will not (never?) be shortened. The second however will be truncated to about a 100 characters.
So if you have access to the code which does the logging, put everything inside the first argument and you should see the whole messages.
console.log('first log string' + 'second log string')
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With