What happens if the debugger is not turned on?

This has the same function as setting a breakpoint in the debugger. If no debugging is available, the debugger statement has no effect. With the debugger turned on, this code will stop executing before it executes the third line. Normally, you activate debugging in your browser with F12, and select “Console” in the debugger menu. Open the browser.
For More Information Please Refer:

You May Also Like to Read: