set the debug view if we're in the debug environment