how to debug using developer tools breaking point code example
Example 1: javascript web development debugging
//In code:
console.log(theVariable);
//Then in browser:
F12
Example 2: pause console debugger in react
setTimeout(() => {debugger;}, 5000)