Web Console - Firefox Developer Tools 编辑

The Web Console:

  1. Logs information associated with a web page: network requests, JavaScript, CSS, security errors and warnings as well as error, warning and informational messages explicitly logged by JavaScript code running in the page context
  2. Enables you to interact with a web page by executing JavaScript expressions in the context of the page
User interface of the Web Console
Parts of the Web Console UI.
The JavaScript input interpreter
How to interact with a document using the Console.
Split console
Use the Console alongside other tools.
Console messages
Details of the messages that the Console logs.
Helper commands
Commands you can use that are not part of JavaScript.
Rich output
See and interact with objects logged by the Console.
Keyboard shortcuts
Shortcut reference.

Opening the Web Console

You open the Web Console from a menu or with a keyboard shortcut:

  • Choose Web Console from the Web Developer submenu in the Firefox Menu (or Tools menu if you display the menu bar or are on Mac OS X)
  • Press the Ctrl+Shift+K (Command+Option+K on OS X) keyboard shortcut.

The Toolbox appear at the bottom, left, or right of the browser window (depending on your docking settings), with the Web Console activated (it's just called Console in the DevTools toolbar).

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据

词条统计

浏览:102 次

字数:2514

最后编辑:7年前

编辑次数:0 次

    我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
    原文