Chrome开发者工具/调试器:“漂亮打印”不起作用 [英] Chrome Developer Tools / debugger: "pretty print" does not work

查看:767
本文介绍了Chrome开发者工具/调试器:“漂亮打印”不起作用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

位于Chrome开发人员工具窗口左下角的漂亮打印按钮应该使缩小的代码可读。但是,当我点击它时,没有任何反应。我尝试了单击和双击。这发生在Windows上的Chrome 32上。



如何制作漂亮的按钮?

解决方案

当我发现困难的方式时(通过试验和错误),只有当控制台可见时,漂亮打印按钮才有效。这意味着它不起作用:

这里>



但是它在这里工作(控制台可见):


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?

解决方案

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):

这篇关于Chrome开发者工具/调试器:“漂亮打印”不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆