Hello from MCP server
<template>
<ion-modal :is-open="isOpen" @didDismiss="$emit('close')" class="debug-console-modal">
<ion-header>
<ion-toolbar>
<ion-title>Debug Console</ion-title>
<ion-buttons slot="end">
<ion-button @click="$emit('close')">Close</ion-button>
</ion-buttons>
</ion-toolbar>
</ion-header>
<ion-content class="ion-padding">
<div class="debug-console-content">
<slot>
<p class="no-debug-info">No debug information available for this view.</p>
</slot>
</div>
</ion-content>
</ion-modal>
</template>
<script setup lang="ts">
import {
IonModal,
IonHeader,
IonToolbar,
IonTitle,
IonButtons,
IonButton,
IonContent,
} from '@ionic/vue';
defineProps<{
isOpen: boolean;
}>();
defineEmits(['close']);
</script>
<style scoped>
.debug-console-modal {
--height: 80%;
--width: 90%;
--max-width: 1200px;
--border-radius: 12px;
}
.debug-console-content {
font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
font-size: 13px;
line-height: 1.5;
color: var(--ion-text-color);
}
.no-debug-info {
text-align: center;
color: var(--ion-color-medium);
font-style: italic;
padding: 40px 20px;
}
/* Utility classes for debug content */
:deep(.debug-section) {
margin-bottom: 24px;
padding-bottom: 16px;
border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
:deep(.debug-section:last-child) {
border-bottom: none;
margin-bottom: 0;
}
:deep(.debug-section-title) {
margin: 0 0 12px 0;
font-size: 16px;
font-weight: 600;
color: var(--ion-color-primary);
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}
:deep(.debug-table) {
width: 100%;
border-collapse: collapse;
}
:deep(.debug-table td) {
padding: 6px 8px;
border-bottom: 1px solid rgba(255, 255, 255, 0.1);
vertical-align: top;
}
:deep(.debug-table td:first-child) {
font-weight: 600;
color: var(--ion-color-medium);
width: 180px;
white-space: nowrap;
}
:deep(.debug-json) {
background: rgba(0, 0, 0, 0.2);
padding: 12px;
border-radius: 8px;
overflow-x: auto;
white-space: pre-wrap;
word-break: break-word;
max-height: 300px;
overflow-y: auto;
}
:deep(.debug-success) {
color: #4CAF50;
}
:deep(.debug-warning) {
color: #FF9800;
}
:deep(.debug-error) {
color: #f44336;
}
</style>