Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Persist console output in Safari Web Inspector

Does any one know how/whether it is possible to preserve the console output, errors, info etc of Safari's Web Inspector?

I'm trying to debug an ajax call thats failing and navigating to the page but I can't see the error as it clears as soon as it navigates, any ideas?

Cheers

like image 384
justcompile Avatar asked Mar 12 '13 09:03

justcompile


2 Answers

In Safari 9 (Mac OS X El Capitan), you can right click anywhere in the console and select "Keep Log on Navigation".

like image 143
Jimothy Avatar answered Oct 22 '22 02:10

Jimothy


In Safari 11, you should click the cogwheel in the Web Inspector

Cogwheel in Web Inspector

and uncheck Console: Clear when page navigates:

Console: Clear when page navigates

like image 38
Klas Mellbourn Avatar answered Oct 22 '22 01:10

Klas Mellbourn