how to debug a react application code example Example: pause console debugger in react setTimeout(() => {debugger;}, 5000)