function debug_test() { console.log('execution started'); debugger; console.log('execution stopped'); } debug_test();
console debugger
When in the console, this will pause execution in the same manner that the native breakpoint dev tool does.
Just another DesignWorks site
When in the console, this will pause execution in the same manner that the native breakpoint dev tool does.
function debug_test() { console.log('execution started'); debugger; console.log('execution stopped'); } debug_test();