Your favorite JavaScript debugger may very well have a conditional breakpoint facility, and if it does, you can abuse it to do things unrelated to conditional breakpoints. Since conditional breakpoints are based on evaluating an expression, you can use an expression with side effects, like, say, logging. The console.log...