Skip to content

Instantly share code, notes, and snippets.

@FreaKzero
FreaKzero / ChromeRemoteDebugger.bat
Last active December 18, 2023 01:09
Windows - Remote Chrome debugging over Network (Start as Admin)
@echo off
netsh interface portproxy delete v4tov4 listenport=9222 listenaddress=0.0.0.0
start /b cmd /c call "C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" --remote-debugging-port=9222 --user-data-dir=dev-mode-removeme --disk-cache-dir=null --overscroll-history-navigation=0 --disable-web-security -–allow-file-access-from-files "%~dp0/src/index.html"
timeout 5
netsh interface portproxy add v4tov4 listenport=9222 connectaddress=127.0.0.1 connectport=9222 listenaddress=0.0.0.0
cls
echo ============================================
echo Chrome started with following configuration:
echo ============================================
echo * No-Caching