Skip to content

Instantly share code, notes, and snippets.

@bobdobbalina
Created May 21, 2020 21:16
Show Gist options
  • Save bobdobbalina/64450fb391dab3863e047295cb155410 to your computer and use it in GitHub Desktop.
Save bobdobbalina/64450fb391dab3863e047295cb155410 to your computer and use it in GitHub Desktop.
Mac Terminal command to open Chrome in remote debugging mode
/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --remote-debugging-port=9222
@devmadhavvv
Copy link

thanks

@JiangWeixian
Copy link

Add sudo work for me

@hamidzr
Copy link

hamidzr commented Jul 9, 2025

user data needs to be set in newer version of chrome for this totake effect

@bidyashish
Copy link

For Mac Os

"/Applications/Google Chrome.app/Contents/MacOS/Google Chrome" --remote-debugging-port=9222  timeout: 10s
      --user-data-dir="$HOME/.config/google-chrome"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment