Initial commit
This commit is contained in:
18
debug.bat
Normal file
18
debug.bat
Normal file
@@ -0,0 +1,18 @@
|
||||
@echo off
|
||||
|
||||
echo 请在新窗口中运行: python -m http.server 8080
|
||||
|
||||
echo 🚀 启动带调试支持的 Chrome...
|
||||
|
||||
REM 停止所有 Chrome 实例
|
||||
taskkill /F /IM chrome.exe 2>nul
|
||||
|
||||
REM 使用调试标志启动 Chrome
|
||||
start "" "C:\Program Files\Google\Chrome\Application\chrome.exe" ^
|
||||
--remote-debugging-port=9222 ^
|
||||
--enable-features=WebAssemblyDebugging ^
|
||||
--no-first-run ^
|
||||
--user-data-dir="C:\ChromeDebugProfile" ^
|
||||
http://127.0.0.1:8080/debug.html
|
||||
|
||||
echo 🌐 Chrome 已启动,访问 http://localhost:9222 进行调试
|
||||
Reference in New Issue
Block a user