Fixed DebugManager menu if statement.