javascript-tutorial / javascript-tutorial/en.javascript.info

Not able to practice debugging lesson because javascript code is not on separate lines

未關閉
#3,745 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

主要語言
HTML
星號
25.5k
分支
4k
PR 合併指標
30 天內沒有已合併 PR

描述

I've noticed 2 issues while going through the "Debugging in the browser" chapter.
1. The "hello.js" file on this [example page](https://javascript.info/article/debugging-chrome/debugging/index.html) has the 2 functions written in just 1 line and so it's not possible to add a breakpoint at places within the function as instructed in the chapter.
2. Also, there's no "enable/disable automatic pause in case of an error." button on either chrome or edge as said in the chapter.

貢獻指南

這個儲存庫沒有索引到貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

研究方向

開啟「Debugging in the browser」章節及其連結的範例頁面,然後檢查 hello.js 範例以及關於發生錯誤時自動暫停的說明。更新範例,讓函式可以在分開的行上進行偵錯,並確保瀏覽器說明與目前 Chrome 和 Edge 的控制項相符。

由索引模型根據 Issue 內容生成。

評估

技術堆疊
javascript
領域
documentation
Issue 類型
文件
難度
3/5
預估耗時
1-2 天
活躍度
停滯
描述清晰度
基本清楚
新手友好度
45/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。