From 218934fa2ed1c702a6d3923d2aa2cc6b43c48684 Mon Sep 17 00:00:00 2001 From: Peter Bengtsson Date: Tue, 8 Dec 2020 14:43:23 -0500 Subject: initial commit --- files/zh-tw/tools/debugger/index.html | 58 +++++++++++++++++++++++++++++++++++ 1 file changed, 58 insertions(+) create mode 100644 files/zh-tw/tools/debugger/index.html (limited to 'files/zh-tw/tools/debugger/index.html') diff --git a/files/zh-tw/tools/debugger/index.html b/files/zh-tw/tools/debugger/index.html new file mode 100644 index 0000000000..ca245fc16a --- /dev/null +++ b/files/zh-tw/tools/debugger/index.html @@ -0,0 +1,58 @@ +--- +title: 除錯器 +slug: Tools/Debugger +translation_of: Tools/Debugger +--- +
+

本頁在描述 Firefox Nightly 與 Firefox Developer Edition 第 52 版以後的 JavaScript 除錯器(Debugger)。

+ +

要找在此版本之前、或是位於 Beta 與 Release 通道的 Firefox,請參閱Firefox 52 之前的除錯器

+ +

如果你是這個版本的除錯器,但需要用舊版本的除錯器,你可以去 about:config 那裡,把「devtools.debugger.new-debugger-frontend」選為 false

+
+ +

{{EmbedYouTube("QK4hKWmJVLo")}}

+ +

JavaScript 除錯器可以讓 JavaScript 單步執行,並檢查或修改其狀態,以便查找錯誤。

+ +

你可以在本地或是在遠端除錯用 Firefox 除錯。一個遠端除錯的例子,就是在 Android 設備上執行 Firefox for Android。請參閱遠端除錯以理解如何把欲除錯的目標,連接到除錯器上。

+ +

The debugger ships inside Firefox, and these pages describe how to use the version that's embedded in Firefox. However, you can also run it as a standalone web application, and can then use it to debug code running in other browsers and in Node. For more details on that, see the project's GitHub repository.

+ +

新版除錯器尚未支援所有舊版除錯器的功能。請參閱新版除錯器的侷限

+ +
+

用戶介面導覽

+ +

如果要自己摸索除錯器,我們有UI 的快速導覽

+ +
+

如何

+ +

如果要知道除錯器可以做什麼,請看看以下的教學:

+ +
+ +
+ +
+

參閱

+ +
+ +
-- cgit v1.2.3-54-g00ecf