Added checking on -debug for non-numbers