3 ms·
For JavaScript I use console.log and "debugger". If you're unfamiliar, including a "debugger;" expression will pause execution and open a debugger (but only if
by gbelote 15y ago
For JavaScript I use console.log and "debugger". If you're unfamiliar, including a "debugger;" expression will pause execution and open a debugger (but only if one is available). Very lightweight and handy. This works on Chrome, Firefox, and likely others. Further, you can conditionalize it with if statements.