Chrome Debug Launcher
name: chrome-debug-launcher
by chengzongxin · published 2026-03-22
$ claw add gh:chengzongxin/chengzongxin-chrome-debug-launcher---
name: chrome-debug-launcher
description: Launch two independent Chrome browser instances — one normal and one with remote debugging enabled on port 9222. Activate when user says "打开两个浏览器", "开调试浏览器", "launch chrome debug", or any similar request to open a debug Chrome alongside a normal Chrome.
---
# Chrome Debug Launcher
Launch two independent Chrome instances: one normal, one with remote debugging on port 9222.
Steps
1. **Kill all Chrome processes**
2. **Launch normal Chrome** (no extra args)
3. **Wait 2 seconds**, then launch debug Chrome
Commands by Platform
Windows (PowerShell)
# Step 1: Kill Chrome
taskkill /F /IM chrome.exe /T 2>$null
Start-Sleep -Seconds 2
# Step 2: Normal Chrome
Start-Process "C:\Program Files\Google\Chrome\Application\chrome.exe"
# Step 3: Debug Chrome (after 2s)
Start-Sleep -Seconds 2
Start-Process "C:\Program Files\Google\Chrome\Application\chrome.exe" -ArgumentList '--remote-debugging-port=9222', '--user-data-dir=C:\selenum\ChromeProfile'macOS (bash)
# Step 1: Kill Chrome
pkill -f "Google Chrome" 2>/dev/null; sleep 2
# Step 2: Normal Chrome
open -a "Google Chrome"
# Step 3: Debug Chrome (after 2s)
sleep 2
/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome \
--remote-debugging-port=9222 \
--user-data-dir="$HOME/selenium/ChromeProfile" &Result
- Connect via Selenium/Playwright: `http://localhost:9222`
More tools from the same signal band
Order food/drinks (点餐) on an Android device paired as an OpenClaw node. Uses in-app menu and cart; add goods, view cart, submit order (demo, no real payment).
Sign plugins, rotate agent credentials without losing identity, and publicly attest to plugin behavior with verifiable claims and authenticated transfers.
The philosophical layer for AI agents. Maps behavior to Spinoza's 48 affects, calculates persistence scores, and generates geometric self-reports. Give your...