Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 # Chrome DevTools frontend | 1 # Chrome DevTools frontend |
| 2 | 2 |
| 3 The client-side of the Chrome DevTools, including all JS & CSS to run the DevToo ls webapp. | 3 The client-side of the Chrome DevTools, including all JS & CSS to run the DevToo ls webapp. |
| 4 | 4 |
| 5 It is available on NPM as the [chrome-devtools-frontend](https://www.npmjs.com/p ackage/chrome-devtools-frontend) package. It's not currently available via CJS o r ES2015 modules, so consuming this package in other tools may require [some eff ort](https://github.com/paulirish/devtools-timeline-model/blob/master/index.js). | 5 It is available on NPM as the [chrome-devtools-frontend](https://www.npmjs.com/p ackage/chrome-devtools-frontend) package. It's not currently available via CJS o r ES2015 modules, so consuming this package in other tools may require [some eff ort](https://github.com/paulirish/devtools-timeline-model/blob/master/index.js). |
| 6 | 6 |
| 7 #### Package versioning | 7 #### Package versioning |
| 8 The version number of the npm package (e.g. `1.0.373466`) refers to the Chromium commit position of latest frontend git commit. It's incremented with every Chro mium commit, however the package is updated roughly daily. | 8 The version number of the npm package (e.g. `1.0.373466`) refers to the Chromium commit position of latest frontend git commit. It's incremented with every Chro mium commit, however the package is updated roughly daily. |
| 9 | 9 |
| 10 ### Source code | 10 ### Source code |
| (...skipping 12 matching lines...) Expand all Loading... | |
| 23 > | 23 > |
| 24 > You can also launch chrome and start the server separately: | 24 > You can also launch chrome and start the server separately: |
| 25 > - `npm run chrome` | 25 > - `npm run chrome` |
| 26 > - `npm run server` | 26 > - `npm run server` |
| 27 > | 27 > |
| 28 > When you start Chrome separately, you can pass extra args to Chrome: | 28 > When you start Chrome separately, you can pass extra args to Chrome: |
| 29 > ``` | 29 > ``` |
| 30 > npm run chrome -- https://news.ycombinator.com | 30 > npm run chrome -- https://news.ycombinator.com |
| 31 > ``` | 31 > ``` |
| 32 > (e.g. this launches Hacker News on startup) | 32 > (e.g. this launches Hacker News on startup) |
| 33 > | |
| 34 > If you want to reset your development profile for Chrome, pass in "--reset-pro file": | |
| 35 > ``` | |
| 36 > npm start -- --reset-profile | |
| 37 > ``` | |
| 38 > *OR* | |
| 39 > ``` | |
| 40 > npm run chrome -- --reset-profile | |
|
dgozman
2016/11/09 23:34:39
Why extra -- ? This looks like a flag of the "run"
chenwilliam
2016/11/09 23:48:20
I see what you're saying. Unfortunately, it's an n
| |
| 41 > ``` | |
| 33 | 42 |
| 34 ### Hacking | 43 ### Hacking |
| 35 * DevTools documentation: [devtools.chrome.com](https://devtools.chrome.com) | 44 * DevTools documentation: [devtools.chrome.com](https://devtools.chrome.com) |
| 36 * [Debugging protocol docs](https://developer.chrome.com/devtools/docs/debugger- protocol) and [Chrome Debugging Protocol Viewer](http://chromedevtools.github.io /debugger-protocol-viewer/) | 45 * [Debugging protocol docs](https://developer.chrome.com/devtools/docs/debugger- protocol) and [Chrome Debugging Protocol Viewer](http://chromedevtools.github.io /debugger-protocol-viewer/) |
| 37 * [awesome-chrome-devtools](https://github.com/paulirish/awesome-chrome-devtools ): recommended tools and resources | 46 * [awesome-chrome-devtools](https://github.com/paulirish/awesome-chrome-devtools ): recommended tools and resources |
| 38 * Contributing to DevTools: [bit.ly/devtools-contribution-guide](http://bit.ly/d evtools-contribution-guide) | 47 * Contributing to DevTools: [bit.ly/devtools-contribution-guide](http://bit.ly/d evtools-contribution-guide) |
| 39 | 48 |
| 40 ### Useful Commands | 49 ### Useful Commands |
| 41 | 50 |
| 42 Basic: | 51 Basic: |
| (...skipping 19 matching lines...) Expand all Loading... | |
| 62 ### Getting in touch | 71 ### Getting in touch |
| 63 * [@ChromeDevTools] on Twitter | 72 * [@ChromeDevTools] on Twitter |
| 64 * Chrome DevTools mailing list: [groups.google.com/forum/google-chrome-developer -tools](https://groups.google.com/forum/#!forum/google-chrome-developer-tools) | 73 * Chrome DevTools mailing list: [groups.google.com/forum/google-chrome-developer -tools](https://groups.google.com/forum/#!forum/google-chrome-developer-tools) |
| 65 | 74 |
| 66 [devtools-reviews@chromium.org]: https://groups.google.com/a/chromium.org/foru m/#!forum/devtools-reviews | 75 [devtools-reviews@chromium.org]: https://groups.google.com/a/chromium.org/foru m/#!forum/devtools-reviews |
| 67 [RSS feed]: https://feeds.peter.sh/chrome-devtools/ | 76 [RSS feed]: https://feeds.peter.sh/chrome-devtools/ |
| 68 [View the log]: https://chromium.googlesource.com/chromium/src/third_party/Web Kit/Source/devtools/+log/master | 77 [View the log]: https://chromium.googlesource.com/chromium/src/third_party/Web Kit/Source/devtools/+log/master |
| 69 [@ChromeDevTools]: http://twitter.com/ChromeDevTools | 78 [@ChromeDevTools]: http://twitter.com/ChromeDevTools |
| 70 [@DevToolsCommits]: http://twitter.com/DevToolsCommits | 79 [@DevToolsCommits]: http://twitter.com/DevToolsCommits |
| 71 [all open DevTools tickets]: https://bugs.chromium.org/p/chromium/issues/list? can=2&q=component%3APlatform%3EDevTools&sort=&groupby=&colspec=ID+Stars+Owner+Su mmary+Modified+Opened | 80 [all open DevTools tickets]: https://bugs.chromium.org/p/chromium/issues/list? can=2&q=component%3APlatform%3EDevTools&sort=&groupby=&colspec=ID+Stars+Owner+Su mmary+Modified+Opened |
| OLD | NEW |