Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Open Developer Tools console by default in IE11 (without pressing F12 explicitly)

I have a bug which is only on IE11 and occurs only when the site is opened via a link. The page is blank. But, if I refresh, the page loads correctly. I feel there would be some error in the developer tools console but my problem is that by the time I press F12, the call is already done and nothing shows up in the log. Is there some way I can open IE and developer tools tab will be open by default ? Or any other process by which I can see if there are any errors on the log ?

Also, since this is a bug only for HTTPS, I realised that if I have fiddler running and the "Decrypt HTTPS traffic" checked, things work fine. If it is not checked, same blank page error.

like image 485
Crusaderpyro Avatar asked Jan 04 '23 04:01

Crusaderpyro


1 Answers

You can enable Always record developer console messages feature and open Developer Tools after browser loads the page.

To enable Always record developer console messages go to Tools, Internet Options, Advanced tab, Browsing section and check Always record developer console messages: How to enable Always record developer console messages guide

After you opened Developer Tools, you may need to wait for some time before browser displays all recorded messages. In my case is was about 30 seconds. For more information check Using the Console to view errors and debug article on MSDN.

like image 148
Leonid Vasilev Avatar answered Jan 14 '23 00:01

Leonid Vasilev