Additions to DebugMode