If you type manually into chromes console each statement one by one you get an output.
How would I get the same output to the console by debugging code stepping through each of the following:
var foo = 10
foo * 2
foo * 20
without having to do
var foo = 10
console.log(foo * 2)
console.log(foo * 20)
It can be in browser, with browser extension or node.
EDIT 1______ I don't want to use watches either.