← 返回
效率工具

Chrome Debug Launcher

Launch two independent Chrome browser instances — one normal and one with remote debugging enabled on port 9222. Activate when user says "打开两个浏览器", "开调试浏览器",...
Launch two independent Chrome browser instances — one normal and one with remote debugging enabled on port 9222. Activate when user says "打开两个浏览器", "开调试浏览器",...
chengzongxin
效率工具 clawhub v1.0.1 2 版本 99904.9 Key: 无需
★ 0
Stars
📥 1,050
下载
💾 25
安装
2
版本
#latest

概述

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

  • Instance 1: Normal Chrome, default profile, regular use
  • Instance 2: Debug Chrome, port 9222, isolated user data dir
  • Connect via Selenium/Playwright: http://localhost:9222

版本历史

共 2 个版本

  • v1.0.0
    2026-03-29 22:27 安全
  • v1.0.1 当前
    2026-03-27 21:21 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

Jenkins Build

chengzongxin
自动化触发 Jenkins 构建任务,支持师傅端和用户端项目打包。
★ 0 📥 541
productivity

Word / DOCX

ivangdavila
创建、检查和编辑 Microsoft Word 文档及 DOCX 文件,支持样式、编号、修订记录、表格、分节符及兼容性检查等功能。
★ 440 📥 148,382
productivity

Weather

steipete
获取当前天气和预报(无需API密钥)
★ 446 📥 226,531