Skip to content

Instantly share code, notes, and snippets.

@gregstewart
Created April 24, 2012 21:53
Show Gist options
  • Save gregstewart/2484154 to your computer and use it in GitHub Desktop.
Save gregstewart/2484154 to your computer and use it in GitHub Desktop.
Launch Chrome with paint rectangles visible and remote debugger
/Applications/Google\ Chrome\ Canary.app/Contents/MacOS/Google\ Chrome\ Canary --show-paint-rects --remote-debugging-port=9222
@gregstewart
Copy link
Author

Simple command that launches Chrome (Canary) from the command line and paints rectangles around the DOM elements that are being painted.

Updated to also include starting the remote debugger

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