更改 Firefox 开发者工具

Changing Firefox Developer Tools

我正在尝试对 Firefox 开发工具进行一些更改。我首先添加 console.log 语句。输出应该出现在哪里?有哪些选择?我应该如何(尝试)调试 Firefox Dev Tools?我已经成功地扩展了 omni.ja 并从扩展的 JavaScript 重建了 omni.ja。当我(故意)向扩展 JavaScript 添加错误代码时,Firefox 开发工具失败(这是有道理的)。但是,当我添加 console.log 语句时,我找不到输出。请注意,我正在使用(尝试使用)远程调试。但是,我不确定这是正确的方法。

错误记录到Browser Console, which can be opened by pressing Ctrl+Shift+J. The same messages can also be seen when opening the Console panel within the Browser Toolbox,可以通过Ctrl+A​​lt+[=16=打开]Shift+I一旦启用.

话虽如此,更改 Firefox DevTools 的正确方法是按照 https://docs.firefox-dev.tools/getting-started/ 中所述为 Firefox 设置开发环境。