Change to debug-mode swith for DebugKit