Last active
December 17, 2015 05:29
-
-
Save eyecatchup/5558373 to your computer and use it in GitHub Desktop.
Simple windows batchfile to open Google Chrome's remote debugging console on your host machine. 1.) Save the batchfile to your machine. 2.) Now, whenever you want to start the remote devtools console, just usb-connect your device and double click the file. It will start the ADB server, set up the port forwarding and open a new Chrome window list…
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
REM Note: If adb.exe is not in your %PATH% variable, add it or use an absolute path! | |
adb kill-server | |
adb forward tcp:9123 localabstract:chrome_devtools_remote | |
REM To open the remote dev console in a new tab (if chrome is already running), | |
REM use the --instant-url flag instead of --new-window. | |
start "Chrome" chrome --remote-debugging-port=9123 --new-window localhost:9123 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment