Chrome Developer Tools / debugger: “pretty print” does not work

谁说我不能喝 提交于 2019-12-06 17:16:02

问题


The "pretty print" button, located in the lower left corner of the Chrome Developer Tools window, is supposed to make minified code readable. However, when I click it, nothing happens. I tried both single and double-clicks. This happes on Chrome 32 on Windows.

How do I make the pretty-print button work?


回答1:


As I found out the hard way (by trial and error) the "pretty print" button is only functional when the console is visible. That means it does not work here:

But it does work here (console visible):



来源:https://stackoverflow.com/questions/21444641/chrome-developer-tools-debugger-pretty-print-does-not-work

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!