27 lines
776 B
Batchfile
27 lines
776 B
Batchfile
@echo off
|
|
:: ESP32 debug console - console/debug launcher (shows server log in this window).
|
|
:: No-black-box launchers: esp32_app.vbs (desktop window) / esp32_web.vbs (browser tab)
|
|
|
|
set PORT=2625
|
|
chcp 65001 >nul
|
|
set PYTHONUTF8=1
|
|
|
|
echo ========================================
|
|
echo ESP32 Debug Console (console mode)
|
|
echo PORT: %PORT%
|
|
echo ========================================
|
|
echo.
|
|
echo Tab shell: http://localhost:%PORT%/tabs.html
|
|
echo OTA Console: http://localhost:%PORT%/pages/index.html
|
|
echo.
|
|
echo Switch WiFi / BLE mode in the "Device Connect" card.
|
|
echo No-black-box: double-click esp32_app.vbs instead.
|
|
echo.
|
|
echo Press Ctrl+C to stop
|
|
echo ========================================
|
|
echo.
|
|
|
|
cd /d "%~dp0"
|
|
python esp32_server.py --port %PORT%
|
|
pause
|