I know that it is possible to mark a line as a breakpoint using Dev Tools, but is it possible to invoke the browser debugger directly from the code?
I know that it is possible to mark a line as a breakpoint using Dev Tools, but is it possible to invoke the browser debugger directly from the code?
You can use the keyword debugger
function(){
debugger; // quando estiver no modo de debug (F12) o cursor irá parar aqui
alert("Is me...");
}