Add debug logging for component lifecycle in registration page
Some checks failed
Code Analysis (JS/Vue) / analyze (push) Failing after 44s

Introduce console log statements to track the loading and setup phases of the registrieren.vue component. This enhancement aims to improve visibility into the component's lifecycle, aiding in debugging and troubleshooting during development.
This commit is contained in:
Torsten Schulz (local)
2026-01-07 22:34:03 +01:00
parent 8e398778ce
commit 62115ff1d1

View File

@@ -228,6 +228,10 @@
import { onMounted, ref } from 'vue' import { onMounted, ref } from 'vue'
import { AlertCircle, Check, Loader2, Info } from 'lucide-vue-next' import { AlertCircle, Check, Loader2, Info } from 'lucide-vue-next'
// Debug: Test-Ausgabe beim Laden der Komponente
console.log('[DEBUG] ===== registrieren.vue component loaded =====')
console.log('[DEBUG] Component setup started')
const formData = ref({ const formData = ref({
name: '', name: '',
email: '', email: '',
@@ -244,6 +248,8 @@ const isPasskeySupported = ref(false)
const passkeySupportReason = ref('') const passkeySupportReason = ref('')
const setPasswordForPasskey = ref(true) const setPasswordForPasskey = ref(true)
console.log('[DEBUG] Component refs initialized')
// Debug: Log beim Form-Submit // Debug: Log beim Form-Submit
const handleFormSubmit = (event) => { const handleFormSubmit = (event) => {
console.log('[DEBUG] ===== FORM SUBMIT EVENT =====') console.log('[DEBUG] ===== FORM SUBMIT EVENT =====')