Added Arduino debug mode.