3
I know it is possible to mark a line as breakpoint using Dev Tools, but it is possible to invoke the browser Debugger directly from the code?
3
I know it is possible to mark a line as breakpoint using Dev Tools, but it is possible to invoke the browser Debugger directly from the code?
6
You can use the keyword debugger
function(){
debugger; // quando estiver no modo de debug (F12) o cursor irá parar aqui
alert("Is me...");
}
Browser other questions tagged javascript debug
You are not signed in. Login or sign up in order to post.
devtools must be open
– andrepaulo