Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can we save IE console from developer tools to a file?

We have a full AJAX website to debug. The development network and host are really different than our client.

So if we try to access to the platform we don't have any problem The client can work too but regularly stuck on loading state for undefined reason.

This is why we need to know if is there any possibility to background log console or network data from IE (9 or 11) Developer Tools into a file that we could retrieve latter.

Is there, perhaps, a plugin or application to do the same job instead of native functionality ?

PS: JFiddler is a good tool to log network but don't want to use https decryption on production environment

like image 640
Akira Avatar asked Feb 24 '16 11:02

Akira


2 Answers

I'm a little late but just had this issue and this was the question that came up on my search. I'll add my solution here for future users.

If you just need to save the contents of the IE Developer Tools log you can do it by right-clicking on the contents of the log and select "Copy All". Then paste into a text editor and save. Chrome has a button for this, but if your requirement is IE then this is all I could find.

like image 129
Curtis Avatar answered Sep 30 '22 03:09

Curtis


You can over-write console.log function to achieve the desired behavior.

console.log = function(msg){alert(msg); }
console.log('hi');

there is no easy way of writing to file so you need to send data to your server and save there.

like image 40
Zubaer Naseem Avatar answered Sep 30 '22 05:09

Zubaer Naseem