You can use debugger; within your code. If the developer console is open, execution will break. It works in firebug as well.
You can use debugger; within your code. If the developer console is open, execution will break. It works in firebug as well.