//
//  SidebarDebugSectionView.swift
//  USB Meter
//

import SwiftUI

struct SidebarDebugSectionView: View {
    var body: some View {
        Section(header: Text("Debug").font(.headline)) {
            NavigationLink(destination: MeterMappingDebugView()) {
                SidebarLinkCardView(
                    title: "Meter Sync Debug",
                    subtitle: "Inspect meter name sync data and iCloud KVS visibility as seen by this device.",
                    symbol: "list.bullet.rectangle",
                    tint: .purple
                )
            }
            .buttonStyle(.plain)
        }
    }
}