From 93422495913835edc2af0691b9209afcbb557f0a Mon Sep 17 00:00:00 2001 From: Jeff Emmett Date: Tue, 2 Sep 2025 13:26:57 +0200 Subject: [PATCH] debug videochat --- src/shapes/VideoChatShapeUtil.tsx | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/shapes/VideoChatShapeUtil.tsx b/src/shapes/VideoChatShapeUtil.tsx index 7e513bc..4a59fe3 100644 --- a/src/shapes/VideoChatShapeUtil.tsx +++ b/src/shapes/VideoChatShapeUtil.tsx @@ -112,6 +112,12 @@ export class VideoChatShape extends BaseBoxShapeUtil { const workerUrl = import.meta.env.VITE_TLDRAW_WORKER_URL; const apiKey = import.meta.env.VITE_DAILY_API_KEY; + // Debug logging + console.log('🔧 VideoChat Debug:'); + console.log('import.meta.env.VITE_TLDRAW_WORKER_URL:', import.meta.env.VITE_TLDRAW_WORKER_URL); + console.log('workerUrl:', workerUrl); + console.log('apiKey exists:', !!apiKey); + if (!apiKey) { throw new Error('Daily.co API key not configured'); }