how to srt up break points de bugger chrome 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)