add support for debugging(-d) levels.