Chrome dev tools fails to show response even the content returned has header Content-Type:text/html; charset=UTF-8

后端 未结 9 1120
轮回少年
轮回少年 2020-12-12 11:25

Why does my chrome developer tools show \"Failed to show response data\" in response when the content returned is of type text/html?

What is the alternative to see t

9条回答
  •  抹茶落季
    2020-12-12 12:11

    As described by Gideon, this is a known issue with Chrome that has been open for more than 5 years with no apparent interest in fixing it.

    Unfortunately, in my case, the window.onunload = function() { debugger; } workaround didn't work either. So far the best workaround I've found is to use Firefox, which does display response data even after a navigation. The Firefox devtools also have a lot of nice features missing in Chrome, such as syntax highlighting the response data if it is html and automatically parsing it if it is JSON.

提交回复
热议问题