Browser Toolbox

瀏覽器工具箱有別於一般的工具箱,它可以讓您對附加元件以及瀏覽器本身的 JavaScript 程式碼除錯。瀏覽器工具箱所顯示的內容為整個瀏覽器而非僅有單一頁面的內容。h

註: 如果您要為無需新啟動或是基於 SDK 的附加元件除錯,請使用 Add-on Debugger


瀏覽器工具箱預設為關閉。要啟用瀏覽器工具箱,您必須要勾選「Enable chrome and addon debugging」與「Enable remote debugging」兩個選項。

  • open the Toolbox settings
  • check Enable chrome debugging and Enable remote debugging

Now you should see a new item in the Web Developer menu in Firefox labeled "Browser Toolbox".

Click the menu item and you'll be presented with a dialog like this:

Click OK, and the Browser Toolbox will open in its own window:

You'll see, and be able to debug, all the JavaScript files loaded by the browser itself and by any add-ons that are running. Altogether you will have access to the following developer tools: