- git clone https://chromium.googlesource.com/chromium/blink.git
- Set up a local web server that would serve files from WebKit/Source/WebCore/inspector on some port (8090)
- --remote-debugging-port=9222 --user-data-dir=blink/chromeServerProfile --remote-debugging-frontend="http://localhost:8090/front_end/inspector.html"
- --user-data-dir=/work/chromeClientProfile
Useful keyboard shortcuts
- Inspect element / CTRL + SHIFT + C
- Open console / CTRL + SHIFT + J
- Go to file / CTRL + O
- Go to method / CTRL + SHIFT + O
- Search across all files / CTRL + SHIFT + F
- Settings / F1
- Console / ESC
The Sources Panel
- Pretty print
- Pause on exception
- Clear all breakpoints
- Source Maps
Console commands
- Clear console / CTRL + L
- $0
- copy($0.innerHTML)
- console.assert