how to break script on form submit from browser chome code example Example: pause console debugger in react setTimeout(() => {debugger;}, 5000)