Mozillian & Mozilla Rep & Mozilla Reps Council & Mozilla Tech Speaker & & Mozilla Campus Club Regional Coordinator
How it's done?
If you have an element currently selected in your Inspector, you can use the reference $0 to call it within your code. For example, to see the elements' contents you would type $0.innerHTML.
For previous you can use temp0 and so on.
To access to the document.querySelectorAll you can use $$.
To access to the document.querySelector you can use $.
To access to the previous value returned in console $_.
To copy the HTML of object you can use copy($0).
To inspect an object inspect($0).
debugger.html is a hackable debugger for modern times, built from the ground up using React and Redux.
Mozilla created this debugger for use in the Firefox Developer Tools. We hope to not only to create a great debugger that works with the Firefox and Chrome Debugging Protocol but development community that can embed this debugger in your own projects with tools like NPM.