dumpVar: only available in dev mode
Just the error message is not enough to track errors in commonly used functions.