Programmatically stop JavaScript execution in Firebug February 26, 2023 by Tarik You can use the debugger statement: // your JS code ... // break here debugger; It works in all major browsers.