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

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

Open
#3,745 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
HTML
Stars
25.5k
Forks
4k
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

No contributing guide indexed for this repository

Research direction

Open the “Debugging in the browser” chapter and its linked example page, then inspect the hello.js example and the instructions about automatic pausing on errors. Update the example so the functions can be debugged at separate lines, and ensure the browser instructions match the current Chrome and Edge controls.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
documentation
Issue type
Documentation
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.