' DCU ESP32 debug console - desktop window (pywebview/WebView2). No console window. ' Browser-tab launcher: esp32_web.vbs Console-mode debug launcher: serve.bat Set sh = CreateObject("WScript.Shell") Set fso = CreateObject("Scripting.FileSystemObject") base = fso.GetParentFolderName(WScript.ScriptFullName) sh.CurrentDirectory = base sh.Environment("PROCESS")("PYTHONUTF8") = "1" ' WebView2 hardware acceleration is ON by default (no --disable-gpu). pyw = sh.ExpandEnvironmentStrings("%LOCALAPPDATA%\Programs\Python\Python312\pythonw.exe") If Not fso.FileExists(pyw) Then pyw = "pythonw.exe" sh.Run """" & pyw & """ """ & base & "\esp32_server.py"" --window", 0, False