From ad5312ba10b5c86786232160605f0be0e9c0a59c Mon Sep 17 00:00:00 2001 From: Ricardo Carneiro Date: Fri, 15 May 2026 15:39:06 -0300 Subject: [PATCH] debug: habilita DevTools e captura erros JS no Photino Co-Authored-By: Claude Sonnet 4.6 --- .claude/settings.local.json | 3 ++- VideoStudy.App/Program.cs | 1 + VideoStudy.App/wwwroot/index.html | 13 ++++++++++++- 3 files changed, 15 insertions(+), 2 deletions(-) diff --git a/.claude/settings.local.json b/.claude/settings.local.json index ccc962c..cfbac33 100644 --- a/.claude/settings.local.json +++ b/.claude/settings.local.json @@ -11,7 +11,8 @@ "Bash(taskkill:*)", "Bash(git add:*)", "Bash(git commit:*)", - "Bash(xargs ls:*)" + "Bash(xargs ls:*)", + "Bash(python3 -c \"import sys,json; d=json.load\\(sys.stdin\\); [print\\(e['Route']\\) for e in d.get\\('Endpoints',[]\\)[:20]]\")" ] } } diff --git a/VideoStudy.App/Program.cs b/VideoStudy.App/Program.cs index 1a8c140..77afb34 100644 --- a/VideoStudy.App/Program.cs +++ b/VideoStudy.App/Program.cs @@ -26,6 +26,7 @@ class Program app.MainWindow .SetTitle("VideoStudy") .SetSize(1280, 800) + .SetDevToolsEnabled(true) .Center(); app.Run(); diff --git a/VideoStudy.App/wwwroot/index.html b/VideoStudy.App/wwwroot/index.html index a99879a..17364cc 100644 --- a/VideoStudy.App/wwwroot/index.html +++ b/VideoStudy.App/wwwroot/index.html @@ -24,7 +24,18 @@ - +