Writing multiline expressions in the debug console

Hold down shift while pressing enter/return to insert a newline in to the debug console.

You can use this to write and evaluate multiline expressions.