Two Questions about debugging in chrome console :
function say(){ console.log("hello"); console.log("test"); }
I want to set breakpoints,etc..
And how can I do a tab in a console for indention?
Thank you.
debugger;say()
in your console, and then press F11 twice, you will be navigated to a VMxxxx tab, you can add breakpoints there and it will be kept.
i.e. next time you run say()
in the console, the breakpoint will be triggered.
Shift+Enter
to open a new line and ident with spaces, or copy a "tab" from somewhere else (a text editor) and paste it in chrome.If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With