I am debugging a web application which dumps big messages in using console.log
, the messages are quite long (easily exceeding 30K characters).
When I open devTools console, all these messages are trimmed to 5025 characters - in order to see the complete messages, I need to click 'Show more' on each one of them. If I don't do 'Show more' and just save the log, the messages will be dumped in the trimmed form as they are shown.
I wonder if there is a way to save everything that was dumped to console.log to a file without clicking on every message.
Note, I have tried running chrome with --enable-logging --v=1
as suggested here, but I don't see the console messages from javascript there.